public class Inet6AddressMatcher extends java.lang.Object implements AddressMatcher
Constructor and Description |
---|
Inet6AddressMatcher(java.lang.String pattern) |
Modifier and Type | Method and Description |
---|---|
AddressIdentifier.AddressType |
getAddressType() |
java.lang.String |
getHumanRepresentation()
Get the human-readable version of the Matcher
|
boolean |
matches(java.net.InetAddress address) |
static boolean |
matches(java.lang.String pattern,
java.net.InetAddress address) |
public AddressIdentifier.AddressType getAddressType()
public boolean matches(java.net.InetAddress address)
matches
in interface AddressMatcher
public static boolean matches(java.lang.String pattern, java.net.InetAddress address)
public java.lang.String getHumanRepresentation()
AddressMatcher
getHumanRepresentation
in interface AddressMatcher