API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.net. IDN View Source
Author(s)
Edward Wang
Since
1.6
Version
1.3, 05/11/17
Serial
Hierarchy
 Object
      IDN
Implements
Subclasses
Description
publicfinal class IDN
  Provides methods to convert internationalized domain names (IDNs) between a normal Unicode representation and an ASCII Compatible Encoding (ACE) representation.
See also:   
Constructors
private IDN ()
Methods
Hide/Show inherited methods
publicstatic String toASCII (String input)
  Translates a string from Unicode to ASCII Compatible Encoding (ACE), as defined by the ToASCII operation of RFC 3490.
publicstatic String toASCII (String input, int flag)
  Translates a string from Unicode to ASCII Compatible Encoding (ACE), as defined by the ToASCII operation of RFC 3490.
publicstatic String toUnicode (String input)
  Translates a string from ASCII Compatible Encoding (ACE) to Unicode, as defined by the ToUnicode operation of RFC 3490.
publicstatic String toUnicode (String input, int flag)
  Translates a string from ASCII Compatible Encoding (ACE) to Unicode, as defined by the ToUnicode operation of RFC 3490.
Fields
Hide/Show inherited fields
publicfinalstatic int ALLOW_UNASSIGNED = "1"
Flag to allow processing of unassigned code points
publicfinalstatic int USE_STD3_ASCII_RULES = "2"
Flag to turn on the check against STD-3 ASCII rules
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar