|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.archive.util.InetAddressUtil
public class InetAddressUtil
InetAddress utility.
Field Summary | |
---|---|
static java.util.regex.Pattern |
IPV4_QUADS
ipv4 address. |
Method Summary | |
---|---|
static java.util.List<java.lang.String> |
getAllLocalHostNames()
|
static java.net.InetAddress |
getIPHostAddress(java.lang.String host)
Returns InetAddress for passed host IF its in
IPV4 quads format (e.g. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.regex.Pattern IPV4_QUADS
Method Detail |
---|
public static java.net.InetAddress getIPHostAddress(java.lang.String host)
host
IF its in
IPV4 quads format (e.g. 128.128.128.128).
TODO: Move to an AddressParsingUtil class.
host
- Host name to examine.
public static java.util.List<java.lang.String> getAllLocalHostNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |