org.xbill.DNS
Class A6Record
java.lang.Object
|
+--org.xbill.DNS.Record
|
+--org.xbill.DNS.A6Record
- public class A6Record
- extends Record
Address Record - maps a domain name to an IPv6 address
|
Constructor Summary |
A6Record(Name _name,
short _dclass,
int _ttl,
int _prefixBits,
Inet6Address _suffix,
Name _prefix)
Creates an A6 Record from the given data |
| Methods inherited from class org.xbill.DNS.Record |
equals,
fromString,
fromWire,
getDClass,
getName,
getRRsetType,
getTTL,
getType,
getWireLength,
hashCode,
newRecord,
newRecord,
newRecord,
toWire,
toWireCanonical,
withName |
A6Record
public A6Record(Name _name,
short _dclass,
int _ttl,
int _prefixBits,
Inet6Address _suffix,
Name _prefix)
throws IOException
- Creates an A6 Record from the given data
- Parameters:
prefixBits - The number of bits in the address prefixsuffix - The address suffixprefix - The name of the prefix
toString
public String toString()
- Converts to a String
- Overrides:
- toString in class Record
getPrefixBits
public short getPrefixBits()
- Returns the number of bits in the prefix
getSuffix
public Inet6Address getSuffix()
- Returns the address suffix
getPrefix
public Name getPrefix()
- Returns the address prefix