org.xbill.DNS
Class AAAARecord

java.lang.Object
  extended byorg.xbill.DNS.Record
      extended byorg.xbill.DNS.AAAARecord
All Implemented Interfaces:
Cloneable, Comparable

public class AAAARecord
extends Record

IPv6 Address Record - maps a domain name to an IPv6 address

Author:
Brian Wellington

Field Summary
 
Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type
 
Constructor Summary
AAAARecord(Name name, int dclass, long ttl, Inet6Address address)
          Creates an AAAA Record from the given data
 
Method Summary
 Inet6Address getAddress()
          Returns the address
 String rdataToString()
          Converts rdata to a String
 
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, rdataToWireCanonical, remainingStrings, toString, toWire, toWireCanonical, withName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AAAARecord

public AAAARecord(Name name,
                  int dclass,
                  long ttl,
                  Inet6Address address)
Creates an AAAA Record from the given data

Parameters:
address - The address suffix
Method Detail

rdataToString

public String rdataToString()
Converts rdata to a String

Specified by:
rdataToString in class Record

getAddress

public Inet6Address getAddress()
Returns the address