|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecti2p.susi.dns.AddressBean
public class AddressBean
Field Summary | |
---|---|
(package private) static boolean |
haveIDN
available as of Java 6 |
Constructor Summary | |
---|---|
AddressBean(String name,
String destination)
|
Method Summary | |
---|---|
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 |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final boolean haveIDN
Constructor Detail |
---|
public AddressBean(String name, String destination)
Method Detail |
---|
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 case
IAE
- on various errors or if IDN is needed but not available
IllegalArgumentException
public String getB32()
public String getB64()
public void setProperties(Properties p)
public String getSource()
public String getAdded()
public String getModded()
public String getNotes()
public String getCert()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |