org.apache.http.client.utils
Class Rfc3492Idn
java.lang.Object
org.apache.http.client.utils.Rfc3492Idn
- All Implemented Interfaces:
- Idn
Deprecated. (4.4) use standard IDN
.
@Contract(threading=IMMUTABLE)
@Deprecated
public class Rfc3492Idn
- extends Object
- implements Idn
Implementation from pseudo code in RFC 3492.
- Since:
- 4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Rfc3492Idn
public Rfc3492Idn()
- Deprecated.
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
decode
protected String decode(String s)
- Deprecated.
Copyright © 1999–2019 The Apache Software Foundation. All rights reserved.