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


Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type, wireLength
 
Constructor Summary
A6Record(Name _name, short _dclass, int _ttl, int _prefixBits, Inet6Address _suffix, Name _prefix)
          Creates an A6 Record from the given data
 
Method Summary
 Name getPrefix()
          Returns the address prefix
 short getPrefixBits()
          Returns the number of bits in the prefix
 Inet6Address getSuffix()
          Returns the address suffix
 String toString()
          Converts to a String
 
Methods inherited from class org.xbill.DNS.Record
equals, fromString, fromWire, getDClass, getName, getRRsetType, getTTL, getType, getWireLength, hashCode, newRecord, newRecord, newRecord, toWire, toWireCanonical, withName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 prefix
suffix - The address suffix
prefix - The name of the prefix
Method Detail

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