public final class IDNA2003 extends Object
| Constructor and Description |
|---|
IDNA2003() |
| Modifier and Type | Method and Description |
|---|---|
static int |
compare(String s1,
String s2,
int options) |
static StringBuffer |
convertIDNToASCII(String src,
int options) |
static StringBuffer |
convertIDNToUnicode(String src,
int options) |
static StringBuffer |
convertToASCII(UCharacterIterator src,
int options) |
static StringBuffer |
convertToUnicode(UCharacterIterator src,
int options) |
public static StringBuffer convertToASCII(UCharacterIterator src, int options) throws StringPrepParseException
StringPrepParseExceptionpublic static StringBuffer convertIDNToASCII(String src, int options) throws StringPrepParseException
StringPrepParseExceptionpublic static StringBuffer convertToUnicode(UCharacterIterator src, int options) throws StringPrepParseException
StringPrepParseExceptionpublic static StringBuffer convertIDNToUnicode(String src, int options) throws StringPrepParseException
StringPrepParseExceptionpublic static int compare(String s1, String s2, int options) throws StringPrepParseException
StringPrepParseException