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)
normalize unicode char array based on the mode
|
static java.lang.String |
normalizeUnicode(java.lang.String s, int mode)
normalize unicode string based on the mode
|
static char[] |
normalizeUnicodeNFC(char[] ch, int start, int length)
normalize unicode char array based on NFC
|
static java.lang.String |
normalizeUnicodeNFC(java.lang.String s)
normalize unicode string based on NFC
|
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 java.lang.String normalize2RFC2396(java.lang.String s)
s
- - input string