Top Description Methods
org.apache.http.client.utils

public Interface Idn

Known Direct Implementers
org.apache.http.client.utils.JdkIdn, org.apache.http.client.utils.Rfc3492Idn
Annotations
@Deprecated

Deprecated

(4.4) use standard java.net.IDN.

Abstraction of international domain name (IDN) conversion.
Since
4.0

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the Unicode domain name
toUnicode
(String
the Punycode representation
punycode
)

Converts a name from its punycode representation to Unicode.

Method Detail

toUnicodeback to summary
public String toUnicode(String punycode)

Converts a name from its punycode representation to Unicode. The name may be a single hostname or a dot-separated qualified domain name.

Parameters
punycode:String

the Punycode representation

Returns:String

the Unicode domain name