public class UnicodeUtil
extends java.lang.Object| Constructor and Description |
|---|
UnicodeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
normalize2RFC2396(java.lang.String s)
normalize a string to RFC 2396 standards
|
static char[] |
normalizeUnicode(char[] ch, int start, int length, int mode)
Deprecated.
|
static java.lang.String |
normalizeUnicode(java.lang.String s, int mode)
Deprecated.
|
static char[] |
normalizeUnicodeByJdkOrGdk(char[] ch, int start, int length, int mode)
normalize unicode char array based on the mode
|
static char[] |
normalizeUnicodeNFC(char[] ch, int start, int length)
Deprecated.
|
static java.lang.String |
normalizeUnicodeNFC(java.lang.String s)
Deprecated.
|
public static java.lang.String normalizeUnicodeNFC(java.lang.String s)
s - - input stringpublic static char[] normalizeUnicodeNFC(char[] ch,
int start,
int length)
ch - - input char arraystart - - start positionlength - - total lengthpublic static java.lang.String normalizeUnicode(java.lang.String s,
int mode)
s - - input stringmode - - normalization modepublic static char[] normalizeUnicode(char[] ch,
int start,
int length,
int mode)
ch - - input char arraystart - - start positionlength - - total lengthmode - - normalization modepublic static char[] normalizeUnicodeByJdkOrGdk(char[] ch,
int start,
int length,
int mode)
ch - - input char arraystart - - start positionlength - - total lengthmode - - normalization modepublic static java.lang.String normalize2RFC2396(java.lang.String s)
s - - input string