org.xbill.DNS
Class PTRRecord

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

public class PTRRecord
extends NS_CNAME_PTRRecord

Pointer Record - maps a domain name representing an Internet Address to a hostname.

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
PTRRecord(Name name, int dclass, int ttl, Name target)
          Creates a new PTR Record 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

PTRRecord

public PTRRecord(Name name,
                 int dclass,
                 int ttl,
                 Name target)
Creates a new PTR Record with the given data

Parameters:
target - The name of the machine with this address