public class

Rfc3492Idn

extends Object
implements Idn
java.lang.Object
   ↳ org.apache.http.client.utils.Rfc3492Idn

Class Overview

Implementation from pseudo code in RFC 3492.

Summary

Public Constructors
Rfc3492Idn()
Public Methods
String toUnicode(String punycode)
Converts a name from its punycode representation to Unicode.
Protected Methods
String decode(String input)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.http.client.utils.Idn

Public Constructors

public Rfc3492Idn ()

Also: HttpClient

Public Methods

public String toUnicode (String punycode)

Also: HttpClient

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 the Punycode representation
Returns
  • the Unicode domain name

Protected Methods

protected String decode (String input)

Also: HttpClient