public class IPWithSubnetChecker extends Object
| Constructor and Description |
|---|
IPWithSubnetChecker() |
| Modifier and Type | Method and 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 © 2022. All rights reserved.