public class SubnetUtils extends Object
http://www.faqs.org/rfcs/rfc1519.html
Modifier and Type | Class and Description |
---|---|
class |
SubnetUtils.SubnetInfo
Convenience container for subnet summary information.
|
Constructor and Description |
---|
SubnetUtils(String cidrNotation)
Constructor that takes a CIDR-notation string, e.g.
|
SubnetUtils(String address,
String mask)
Constructor that takes two dotted decimal addresses.
|
Modifier and Type | Method and Description |
---|---|
SubnetUtils.SubnetInfo |
getInfo()
Return a
SubnetUtils.SubnetInfo instance that contains subnet-specific statistics |
public SubnetUtils(String cidrNotation)
cidrNotation
- A CIDR-notation string, e.g. "192.168.0.1/16"public final SubnetUtils.SubnetInfo getInfo()
SubnetUtils.SubnetInfo
instance that contains subnet-specific statisticsCopyright © 1997-2012 Apache Software Foundation. All Rights Reserved.