|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.devexperts.qd.qtp.text.TextCoding
public class TextCoding
Utility class that encodes/decodes any strings into special text format.
Constructor Summary | |
---|---|
TextCoding()
|
Method Summary | |
---|---|
static java.lang.String |
decode(java.lang.String s)
Converts encoded \uxxxx to unicode chars and changes special saved chars to their original forms. |
static java.lang.String |
encode(java.lang.String s)
Converts unicode chars to encoded \uxxxx and escapes special characters with a preceding slash. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextCoding()
Method Detail |
---|
public static java.lang.String encode(java.lang.String s)
s
- string to convert
public static java.lang.String decode(java.lang.String s) throws com.devexperts.qd.qtp.text.CorruptedTextFormatException
s
- string to convert
CorruptedTextFormatException
- if it is impossible to decode s.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |