@InterfaceAudience.Public @InterfaceStability.Evolving public class IpSubnetCheck extends Object
| Constructor and Description |
|---|
IpSubnetCheck(InetAddress begin,
InetAddress end)
Instantiates a new iP subnet check.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isItInRange(InetAddress check)
Checks if is it in range.
|
static void |
main(String[] args)
The main method.
|
String |
toString() |
public IpSubnetCheck(InetAddress begin, InetAddress end)
begin - the beginend - the endpublic boolean isItInRange(InetAddress check)
check - the checkpublic static void main(String[] args) throws UnknownHostException
args - the argumentsUnknownHostException - the unknown host exceptionCopyright © 2016 utils4j. All Rights Reserved.