|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cosylab.util.StringUnicoder
public class StringUnicoder
This class provides converter from any character to unicode escape code. The GUI for the encoder is added as inner class.
Constructor Summary | |
---|---|
StringUnicoder()
|
Method Summary | |
---|---|
static java.lang.String |
convertUnicodeString(java.lang.String str,
boolean convertAscii)
Converts input string into unicode escape code. |
static void |
main(java.lang.String[] args)
Run test applet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringUnicoder()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- command line parameterspublic static java.lang.String convertUnicodeString(java.lang.String str, boolean convertAscii)
str
- the string to be convertedconvertAscii
- wheather to also convert ascii charcters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |