|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRCEncoding
Provides character encoding information. Character encoding settings come from the user's preferences; this class can obtain those settings for any given context.
Also contains a method for processing colour codes.
Nested Class Summary | |
---|---|
static interface |
IRCEncoding.EncodingInfo
Information about encoding in a different context |
Method Summary | |
---|---|
IRCEncoding.EncodingInfo |
getEncoding(Server s,
java.lang.String chan,
IRCUserAddress user)
Obtains the character encoding for a given situation. |
java.lang.String |
processEscapes(java.lang.String input,
boolean allowStyles,
boolean allowColours)
Processes a string for IRC style escapes. |
Method Detail |
---|
IRCEncoding.EncodingInfo getEncoding(Server s, java.lang.String chan, IRCUserAddress user)
s
- Server (may be null)chan
- Channel (may be null)user
- User (may be null)
java.lang.String processEscapes(java.lang.String input, boolean allowStyles, boolean allowColours)
input
- Input textallowStyles
- True to allow styles (bold etc)allowColours
- True to allow colours
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |