org.apache.abdera.i18n.iri
Class IDNA
java.lang.Object
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
IDNA
public IDNA(InetAddress addr)
IDNA
public IDNA(String regname)
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.