i2p.susi.dns
public class AddressBean extends Object
Modifier and Type | Field and Description |
---|---|
(package private) static boolean |
haveIDN
available as of Java 6
|
Constructor and Description |
---|
AddressBean(String name,
String destination) |
Modifier and Type | Method and Description |
---|---|
String |
getAdded() |
String |
getB32() |
String |
getCert()
Do this the easy way
|
String |
getDestination() |
String |
getDisplayName()
The Unicode name, translated from Punycode
|
String |
getModded() |
String |
getName()
The ASCII (Punycode) name
|
String |
getNotes() |
String |
getSource() |
boolean |
isIDN()
Is the ASCII name Punycode-encoded?
|
void |
setProperties(Properties p) |
(package private) static String |
toASCII(String host)
Ref: java.net.IDN and RFC 3940
|
static String |
toUnicode(String host)
The Unicode name, translated from Punycode
|
public String getDestination()
public String getName()
public String getDisplayName()
public static String toUnicode(String host)
public boolean isIDN()
static String toASCII(String host) throws IllegalArgumentException
host
- will be converted to lower caseIAE
- on various errors or if IDN is needed but not availableIllegalArgumentException
public String getB32()
public void setProperties(Properties p)
public String getSource()
public String getAdded()
public String getModded()
public String getNotes()
public String getCert()