Class UTS46
java.lang.Object
org.graalvm.shadowed.com.ibm.icu.text.IDNA
org.graalvm.shadowed.com.ibm.icu.impl.UTS46
-
Nested Class Summary
Nested classes/interfaces inherited from class IDNA
IDNA.Error, IDNA.Info -
Field Summary
Fields inherited from class IDNA
ALLOW_UNASSIGNED, CHECK_BIDI, CHECK_CONTEXTJ, CHECK_CONTEXTO, DEFAULT, NONTRANSITIONAL_TO_ASCII, NONTRANSITIONAL_TO_UNICODE, USE_STD3_RULES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlabelToASCII(CharSequence label, StringBuilder dest, IDNA.Info info) Converts a single domain name label into its ASCII form for DNS lookup.labelToUnicode(CharSequence label, StringBuilder dest, IDNA.Info info) Converts a single domain name label into its Unicode form for human-readable display.nameToASCII(CharSequence name, StringBuilder dest, IDNA.Info info) Converts a whole domain name into its ASCII form for DNS lookup.nameToUnicode(CharSequence name, StringBuilder dest, IDNA.Info info) Converts a whole domain name into its Unicode form for human-readable display.Methods inherited from class IDNA
addError, addLabelError, compare, compare, compare, convertIDNToASCII, convertIDNToASCII, convertIDNToASCII, convertIDNToUnicode, convertIDNToUnicode, convertIDNToUnicode, convertToASCII, convertToASCII, convertToASCII, convertToUnicode, convertToUnicode, convertToUnicode, getUTS46Instance, hasCertainErrors, hasCertainLabelErrors, isBiDi, isOkBiDi, promoteAndResetLabelErrors, resetInfo, setBiDi, setNotOkBiDi, setTransitionalDifferent
-
Constructor Details
-
UTS46
public UTS46(int options)
-
-
Method Details
-
labelToASCII
Description copied from class:IDNAConverts a single domain name label into its ASCII form for DNS lookup. If any processing step fails, then info.hasErrors() will be true and the result might not be an ASCII string. The label might be modified according to the types of errors. Labels with severe errors will be left in (or turned into) their Unicode form.- Specified by:
labelToASCIIin classIDNA- Parameters:
label- Input domain name labeldest- Destination string objectinfo- Output container of IDNA processing details.- Returns:
- dest
-
labelToUnicode
Description copied from class:IDNAConverts a single domain name label into its Unicode form for human-readable display. If any processing step fails, then info.hasErrors() will be true. The label might be modified according to the types of errors.- Specified by:
labelToUnicodein classIDNA- Parameters:
label- Input domain name labeldest- Destination string objectinfo- Output container of IDNA processing details.- Returns:
- dest
-
nameToASCII
Description copied from class:IDNAConverts a whole domain name into its ASCII form for DNS lookup. If any processing step fails, then info.hasErrors() will be true and the result might not be an ASCII string. The domain name might be modified according to the types of errors. Labels with severe errors will be left in (or turned into) their Unicode form.- Specified by:
nameToASCIIin classIDNA- Parameters:
name- Input domain namedest- Destination string objectinfo- Output container of IDNA processing details.- Returns:
- dest
-
nameToUnicode
Description copied from class:IDNAConverts a whole domain name into its Unicode form for human-readable display. If any processing step fails, then info.hasErrors() will be true. The domain name might be modified according to the types of errors.- Specified by:
nameToUnicodein classIDNA- Parameters:
name- Input domain namedest- Destination string objectinfo- Output container of IDNA processing details.- Returns:
- dest
-