Package org.graylog2.utilities
Class IpSubnet
java.lang.Object
org.graylog2.utilities.IpSubnet
A class that enables to get an IP range from CIDR specification. It supports
both IPv4 and IPv6.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
contains
(InetAddress address) boolean
int
hashCode()
toString()
-
Constructor Details
-
IpSubnet
- Throws:
UnknownHostException
-
-
Method Details