|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.http.conn.util.InetAddressUtils
public class InetAddressUtils
A collection of utilities relating to InetAddresses.
Method Summary | |
---|---|
static boolean |
isIPv4Address(String input)
Checks whether the parameter is a valid IPv4 address |
static boolean |
isIPv4MappedIPv64Address(String input)
|
static boolean |
isIPv6Address(String input)
Checks whether the parameter is a valid IPv6 address (including compressed). |
static boolean |
isIPv6HexCompressedAddress(String input)
Checks whether the parameter is a valid compressed IPv6 address |
static boolean |
isIPv6StdAddress(String input)
Checks whether the parameter is a valid standard (non-compressed) IPv6 address |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isIPv4Address(String input)
input
- the address string to check for validity
public static boolean isIPv4MappedIPv64Address(String input)
public static boolean isIPv6StdAddress(String input)
input
- the address string to check for validity
public static boolean isIPv6HexCompressedAddress(String input)
input
- the address string to check for validity
public static boolean isIPv6Address(String input)
input
- the address string to check for validity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |