|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xins.common.text.WhislEncoding
URLEncoding
instead.
Whisl encoding utility functions. This class currently only supports encoding.
The Whisl encoding is similar to URL encoding, but specifically meant to support the complete Unicode character set.
The following transformations should be applied when decoding:
'+'
) converts to a space character;
'%'
) must be followed by a 2-digit hex
number that indicate the Unicode value of a single character;
'$'
) must be followed by a 4-digit hex
number that indicate the Unicode value of a single character;
Method Summary | |
static String |
encode(String s)
Deprecated. Whisl-encodes the specified character string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static String encode(String s) throws IllegalArgumentException
s
- the string to Whisl-encode, not null
.
null
.
IllegalArgumentException
- if s == null
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |