Package org.apache.nutch.protocol.okhttp
Class CIDR
java.lang.Object
org.apache.nutch.protocol.okhttp.CIDR
Parse a CIDR block
notation and test whether an IP address is contained in the subnet range
defined by the CIDR.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CIDR
- Throws:
IllegalArgumentException
-
CIDR
- Throws:
IllegalArgumentException
-
-
Method Details