Example usage for Java org.apache.commons.net.util SubnetUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
SubnetUtils(String cidrNotation) Constructor that takes a CIDR-notation string, e.g. | |
SubnetUtils(String address, String mask) Constructor that takes a dotted decimal address and a dotted decimal mask. |
SubnetInfo | getInfo() Return a SubnetInfo instance that contains subnet-specific statistics |
void | setInclusiveHostCount(boolean inclusiveHostCount) Set to true if you want the return value of SubnetInfo#getAddressCount() to include the network and broadcast addresses. |