com.sun.appserv.management.util.misc
Class StringEscaper
java.lang.Object
com.sun.appserv.management.util.misc.StringEscaper
public final class StringEscaper
- extends Object
Escapes/unescapes strings
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BACKSLASH
public static final char BACKSLASH
- See Also:
- Constant Field Values
NEWLINE
public static final char NEWLINE
- See Also:
- Constant Field Values
RETURN
public static final char RETURN
- See Also:
- Constant Field Values
TAB
public static final char TAB
- See Also:
- Constant Field Values
SPACE
public static final char SPACE
- See Also:
- Constant Field Values
ESCAPE_CHAR
public static final char ESCAPE_CHAR
- See Also:
- Constant Field Values
UNICODE_START
public static final char UNICODE_START
- See Also:
- Constant Field Values
StringEscaper
public StringEscaper()
StringEscaper
public StringEscaper(String charsToEscape)
StringEscaper
public StringEscaper(char escapeChar,
String charsToEscape)
escape
public String escape(String s)
unescape
public String unescape(String s)
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.