Class JdkIdn

java.lang.Object
org.apache.http.client.utils.JdkIdn
All Implemented Interfaces:
Idn

@Contract(threading=IMMUTABLE) @Deprecated public class JdkIdn extends Object implements Idn
Deprecated.
(4.4) use standard IDN.
Uses the java.net.IDN class through reflection.
Since:
4.0
  • Constructor Details

  • Method Details

    • toUnicode

      public String toUnicode(String punycode)
      Deprecated.
      Description copied from interface: Idn
      Converts a name from its punycode representation to Unicode. The name may be a single hostname or a dot-separated qualified domain name.
      Specified by:
      toUnicode in interface Idn
      Parameters:
      punycode - the Punycode representation
      Returns:
      the Unicode domain name