|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jode.util.StringQuoter
This is a simple class to quote a string or a char. It puts it in quotes (" resp. ') and prints special chars with the same syntax as strings and chars in java source codes.
Constructor Summary | |
StringQuoter()
|
Method Summary | |
static java.lang.String |
quote(char c)
This is the static method, that quotes a char. |
static java.lang.String |
quote(java.lang.String str)
This is the static method, that quotes a string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StringQuoter()
Method Detail |
public static java.lang.String quote(java.lang.String str)
public static java.lang.String quote(char c)
|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |