org.apache.abdera.i18n.iri
Class IDNA

java.lang.Object
  extended by org.apache.abdera.i18n.iri.IDNA
All Implemented Interfaces:
Serializable, Cloneable

public final class IDNA
extends Object
implements Serializable, Cloneable

Provides an Internationized Domain Name implementation

See Also:
Serialized Form

Constructor Summary
IDNA(InetAddress addr)
           
IDNA(String regname)
           
 
Method Summary
 Object clone()
           
 boolean equals(Object obj)
           
static boolean equals(String idn1, String idn2)
           
 InetAddress getInetAddress()
           
 int hashCode()
           
 String toASCII()
           
static String toASCII(String regname)
           
 String toString()
           
 String toUnicode()
           
static String toUnicode(String regname)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IDNA

public IDNA(InetAddress addr)

IDNA

public IDNA(String regname)
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

toASCII

public String toASCII()

toUnicode

public String toUnicode()

getInetAddress

public InetAddress getInetAddress()
                           throws UnknownHostException
Throws:
UnknownHostException

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

equals

public static boolean equals(String idn1,
                             String idn2)

toASCII

public static String toASCII(String regname)

toUnicode

public static String toUnicode(String regname)


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.