Package org.apache.dubbo.common.utils
Class CIDRUtils
java.lang.Object
org.apache.dubbo.common.utils.CIDRUtils
A class that enables to get an IP range from CIDR specification. It supports
both IPv4 and IPv6.
From https://github.com/edazdarevic/CIDRUtils/blob/master/CIDRUtils.java
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
CIDRUtils
- Throws:
UnknownHostException
-
-
Method Details
-
getNetworkAddress
-
getBroadcastAddress
-
isInRange
- Throws:
UnknownHostException
-