Package i2p.susi.dns
Class AddressBean
java.lang.Object
i2p.susi.dns.AddressBean
-
Field Summary
Modifier and TypeFieldDescription(package private) static final boolean
available as of Java 6 -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAdded()
getB32()
getB64()
getCert()
Do this the easy wayThe Unicode name, translated from PunycodegetName()
The ASCII (Punycode) namegetNotes()
Do this the easy wayboolean
isIDN()
Is the ASCII name Punycode-encoded?boolean
void
(package private) static String
Ref: java.net.IDN and RFC 3490static String
The Unicode name, translated from Punycode
-
Field Details
-
haveIDN
static final boolean haveIDNavailable as of Java 6
-
-
Constructor Details
-
AddressBean
-
-
Method Details
-
getDestination
-
getName
The ASCII (Punycode) name -
getDisplayName
The Unicode name, translated from Punycode- Returns:
- the original string on error
- Since:
- 0.8.7
-
toUnicode
The Unicode name, translated from Punycode- Returns:
- the original string on error
- Since:
- 0.8.7
-
isIDN
public boolean isIDN()Is the ASCII name Punycode-encoded?- Since:
- 0.8.7
-
toASCII
Ref: java.net.IDN and RFC 3490- Parameters:
host
- will be converted to lower case- Returns:
- name converted to lower case and punycoded if necessary
- Throws:
IllegalArgumentException
- on various errors or if IDN is needed but not available- Since:
- 0.8.7
-
getB32
- Since:
- 0.8.7
-
getB64
- Since:
- 0.9
-
setProperties
- Since:
- 0.8.7
-
getSource
- Since:
- 0.8.7
-
getAdded
- Since:
- 0.8.7
-
getModded
- Since:
- 0.8.7
-
isValidated
public boolean isValidated()- Since:
- 0.9.26
-
getNotes
- Since:
- 0.8.7
-
getCert
Do this the easy way- Since:
- 0.8.7
-
getSigType
Do this the easy way- Since:
- 0.9.12
-