| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | isParseable(String s, int pos, int end, int radix, int maxLength, boolean allowLeadingZero, int minValue, int maxValue)
|
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| public static boolean | |
| public static boolean | Returns: true if a valid IPv4 address, false otherwisethe IP address as a String. address)Validate the given IPv4 address. |
| public static boolean | |
| public static boolean | Returns: true if a valid IPv6 address, false otherwisethe IP address as a String. address)Validate the given IPv6 address. |
| public static boolean | |
| public static boolean | Returns: true if a valid address with netmask, false otherwisethe IP address as a String. address)Validate the given IPv4 or IPv6 address and netmask. |
| IPAddress | back to summary |
|---|---|
| public IPAddress() | |
| isParseable | back to summary |
|---|---|
| private static boolean isParseable(String s, int pos, int end, int radix, int maxLength, boolean allowLeadingZero, int minValue, int maxValue) | |
| isParseableIPv4Mask | back to summary |
|---|---|
| private static boolean isParseableIPv4Mask(String s) | |
| isParseableIPv4Octet | back to summary |
|---|---|
| private static boolean isParseableIPv4Octet(String s, int pos, int end) | |
| isParseableIPv6Mask | back to summary |
|---|---|
| private static boolean isParseableIPv6Mask(String s) | |
| isParseableIPv6Segment | back to summary |
|---|---|
| private static boolean isParseableIPv6Segment(String s, int pos, int end) | |
| isValid | back to summary |
|---|---|
| public static boolean isValid(String address) Validate the given IPv4 or IPv6 address.
| |
| isValidIPv4 | back to summary |
|---|---|
| public static boolean isValidIPv4(String address) Validate the given IPv4 address.
| |
| isValidIPv4WithNetmask | back to summary |
|---|---|
| public static boolean isValidIPv4WithNetmask(String address) | |
| isValidIPv6 | back to summary |
|---|---|
| public static boolean isValidIPv6(String address) Validate the given IPv6 address.
| |
| isValidIPv6WithNetmask | back to summary |
|---|---|
| public static boolean isValidIPv6WithNetmask(String address) | |
| isValidWithNetMask | back to summary |
|---|---|
| public static boolean isValidWithNetMask(String address) Validate the given IPv4 or IPv6 address and netmask.
| |