org.xbill.DNS
public static class APLRecord.Element extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
address |
int |
family |
boolean |
negative |
int |
prefixLength |
Constructor and Description |
---|
APLRecord.Element(boolean negative,
java.net.InetAddress address,
int prefixLength)
Creates an APL element corresponding to an IPv4 or IPv6 prefix.
|
public final int family
public final boolean negative
public final int prefixLength
public final java.lang.Object address
public APLRecord.Element(boolean negative, java.net.InetAddress address, int prefixLength)
negative
- Indicates if this prefix is a negation.address
- The IPv4 or IPv6 address.prefixLength
- The length of this prefix, in bits.java.lang.IllegalArgumentException
- The prefix length is invalid.