public class InetAddressUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
IPV4_QUADS
ipv4 address.
|
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getAllLocalHostNames() |
static InetAddress |
getIPHostAddress(String host)
Returns InetAddress for passed
host IF its in
IPV4 quads format (e.g. |
public static Pattern IPV4_QUADS
public static InetAddress getIPHostAddress(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.Copyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.