Package org.xbill.DNS
Class AAAARecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.AAAARecord
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Record>
IPv6 Address Record - maps a domain name to an IPv6 address
- Author:
- Brian Wellington
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionAAAARecord(Name name, int dclass, long ttl, byte[] address) Creates an AAAA record from the given data.AAAARecord(Name name, int dclass, long ttl, InetAddress address) Creates an AAAA record from the given address. -
Method Summary
Modifier and TypeMethodDescriptionReturns the addressprotected voidrdataFromString(Tokenizer st, Name origin) Converts the text format of an RR to the internal format - must be overridenprotected voidrrFromWire(DNSInput in) Converts the type-specific RR to wire format - must be overriddenprotected StringConverts rdata to a Stringprotected voidrrToWire(DNSOutput out, Compression c, boolean canonical) Converts the type-specific RR to wire format - must be overridden.Methods inherited from class org.xbill.DNS.Record
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName
-
Constructor Details
-
AAAARecord
Creates an AAAA record from the given address.- Parameters:
address- The address that the name refers to.
-
AAAARecord
Creates an AAAA record from the given data.- Parameters:
address- The address that the name refers to- Since:
- 3.6
-
-
Method Details
-
rrFromWire
Description copied from class:RecordConverts the type-specific RR to wire format - must be overridden- Specified by:
rrFromWirein classRecord- Throws:
IOException
-
rdataFromString
Description copied from class:RecordConverts the text format of an RR to the internal format - must be overriden- Specified by:
rdataFromStringin classRecord- Throws:
IOException
-
rrToString
Converts rdata to a String- Specified by:
rrToStringin classRecord
-
getAddress
Returns the address -
rrToWire
Description copied from class:RecordConverts the type-specific RR to wire format - must be overridden.
-