public class InetAddressUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.regex.Pattern |
IPV4_QUADS
ipv4 address.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
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()
Copyright © 2019 The International Internet Preservation Consortium. All Rights Reserved.