org.xbill.DNS
Class CNAMERecord

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

public class CNAMERecord
extends NS_CNAME_PTRRecord

CNAME Record - maps an alias to its real name

Author:
Brian Wellington

Field Summary
 
Fields inherited from class org.xbill.DNS.NS_CNAME_PTRRecord
target
 
Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type
 
Constructor Summary
CNAMERecord(Name name, int dclass, long ttl, Name target)
          Creates a new CNAMERecord with the given data
 
Methods inherited from class org.xbill.DNS.NS_CNAME_PTRRecord
getTarget, rdataFromString, rdataToString, rrFromWire
 
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

CNAMERecord

public CNAMERecord(Name name,
                   int dclass,
                   long ttl,
                   Name target)
Creates a new CNAMERecord with the given data

Parameters:
target - The name to which the CNAME alias points