|
|||||||||
| Home >> All >> nice >> tools >> [ code overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
nice.tools.code
Class Strings

java.lang.Objectnice.tools.code.Strings
- public abstract class Strings
- extends java.lang.Object
String escaping.
| Constructor Summary | |
Strings()
|
|
| Method Summary | |
private static void |
appendHexRepr(java.lang.StringBuffer sb,
int n)
|
static java.lang.String |
escape(java.lang.String s)
Encodes a string to make it a valid java identifier. |
static java.lang.String |
unescape(java.lang.String s)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
Strings
public Strings()
| Method Detail |
escape
public static java.lang.String escape(java.lang.String s)
- Encodes a string to make it a valid java identifier.
Any offending character is replaced by '$$' followed by its
(uni)code in Hexadecimal.
appendHexRepr
private static void appendHexRepr(java.lang.StringBuffer sb, int n)
unescape
public static java.lang.String unescape(java.lang.String s)
|
|||||||||
| Home >> All >> nice >> tools >> [ code overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
nice.tools.code.Strings