public class IPWithSubnetChecker extends Object
| Constructor | Description |
|---|---|
IPWithSubnetChecker() |
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
isValidIP4Range(String possibleIPAddress) |
Tests if a given string is of in the correct format for an IP4 subnet
mask.
|
static boolean |
isValidIP6Range(String possibleIPAddress) |
Tests if a given string is of in the correct format for an IP6 subnet
mask.
|
public static boolean isValidIP4Range(String possibleIPAddress)
possibleIPAddress - to test for valid format.public static boolean isValidIP6Range(String possibleIPAddress)
possibleIPAddress - to test for valid format.Copyright © 2019. All rights reserved.