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 |
getB64() |
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 |
getSigType()
Do this the easy way
|
String |
getSource() |
boolean |
isIDN()
Is the ASCII name Punycode-encoded?
|
boolean |
isValidated() |
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 caseIllegalArgumentException
- on various errors or if IDN is needed but not availablepublic String getB32()
public String getB64()
public void setProperties(Properties p)
public String getSource()
public String getAdded()
public String getModded()
public boolean isValidated()
public String getNotes()
public String getCert()
public String getSigType()