public class InetMask
extends java.lang.Object
| Constructor and Description |
|---|
InetMask(java.lang.String textual)
Generate an IP mask from its textual representation.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.LinkedList |
filterLocal() |
boolean |
match(java.net.InetAddress a)
Test if an IP addr matches with the mask
|
public InetMask(java.lang.String textual)
throws java.net.UnknownHostException
textual - textual representation of the IP maskjava.net.UnknownHostException - if exception