org.xbill.DNS
Class ARecord

java.lang.Object
  extended by org.xbill.DNS.Record
      extended by org.xbill.DNS.ARecord
All Implemented Interfaces:
Cloneable, Comparable

public class ARecord
extends Record

Address Record - maps a domain name to an Internet address

Author:
Brian Wellington

Field Summary
 
Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type
 
Constructor Summary
ARecord(Name name, int dclass, long ttl, InetAddress address)
          Creates an A Record from the given data
 
Method Summary
 InetAddress getAddress()
          Returns the Internet address
 
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, toString, toWire, toWireCanonical, unknownToString, withName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ARecord

public ARecord(Name name,
               int dclass,
               long ttl,
               InetAddress address)
Creates an A Record from the given data

Parameters:
address - The address that the name refers to
Method Detail

getAddress

public InetAddress getAddress()
Returns the Internet address