|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jackofalltrades.irc.util.FontStyleTools
Provides utility methods for removing text formatting characters.
Method Summary | |
static java.lang.String |
stripAllFormatting(java.lang.String message)
Removes all formatting character sequences from the message. |
static java.lang.String |
stripColorCodes(java.lang.String message)
Removes only color code and reverse style character sequences. |
static java.lang.String |
stripFormatting(java.lang.String message)
Removes only the formatting characters sequences, and default style and color sequences are left intact. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.String stripColorCodes(java.lang.String message)
message
- the message, from which, the color codes will be removed.
public static java.lang.String stripFormatting(java.lang.String message)
message
- the message, from which, formatting characters will be
removed.
public static java.lang.String stripAllFormatting(java.lang.String message)
message
- the message, from which, formatting characters will be
removed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |