protected static class InetHostMatcher.AddressMask
extends java.lang.Object
| Constructor and Description |
|---|
InetHostMatcher.AddressMask(java.net.InetAddress address)
Guess the mask in function of the address: /8 for IPv4 loopback and full match
for the rest.
|
InetHostMatcher.AddressMask(java.net.InetAddress ip,
java.net.InetAddress mask)
IP and mask are given.
|
public InetHostMatcher.AddressMask(java.net.InetAddress ip,
java.net.InetAddress mask)
ip - The IP addressmask - A null mask means match all.public InetHostMatcher.AddressMask(java.net.InetAddress address)
address - The IP address