|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--swpchat.protocol.Quote
class to qoute the messages.
Field Summary | |
private static java.lang.String |
CLS
|
private static java.lang.String |
STR_QUOTECHARS
The strings that should be quoted.. |
Constructor Summary | |
Quote()
|
Method Summary | |
static void |
main(java.lang.String[] args)
|
static java.lang.String |
quote(java.lang.String strText)
Method quotes a given text and returns a the quoted String |
static java.lang.String |
requote(java.lang.String str)
requote a given text. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static final java.lang.String CLS
private static java.lang.String STR_QUOTECHARS
Constructor Detail |
public Quote()
Method Detail |
public static java.lang.String quote(java.lang.String strText)
strText
- contains the to be quoted StringString
, the quoted Stringpublic static java.lang.String requote(java.lang.String str)
strText
- contains the to be requoted StringString
, the requoted Stringpublic static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |