org.xbill.DNS
Class AAAARecord
java.lang.Object
|
+--org.xbill.DNS.Record
|
+--org.xbill.DNS.AAAARecord
- public class AAAARecord
- extends Record
(old) IPv6 Address Record - maps a domain name to an IPv6 address
|
Constructor Summary |
AAAARecord(Name _name,
short _dclass,
int _ttl,
int _prefixBits,
Inet6Address _address,
Name _prefix)
Creates an AAAA 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 |
AAAARecord
public AAAARecord(Name _name,
short _dclass,
int _ttl,
int _prefixBits,
Inet6Address _address,
Name _prefix)
throws IOException
- Creates an AAAA Record from the given data
- Parameters:
address - The address suffix
toString
public String toString()
- Converts to a String
- Overrides:
- toString in class Record
getAddress
public Inet6Address getAddress()
- Returns the address