org.xbill.DNS
Class NS_CNAME_PTRRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.NS_CNAME_PTRRecord
- All Implemented Interfaces:
- Cloneable, Comparable
- Direct Known Subclasses:
- CNAMERecord, DNAMERecord, NSRecord, PTRRecord
- public abstract class NS_CNAME_PTRRecord
- extends Record
Implements NS, CNAME, PTR, and DNAME records, which have identical formats
- Author:
- Brian Wellington
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 |
target
protected Name target
NS_CNAME_PTRRecord
protected NS_CNAME_PTRRecord()
NS_CNAME_PTRRecord
protected NS_CNAME_PTRRecord(Name name,
int type,
int dclass,
long ttl)
NS_CNAME_PTRRecord
public NS_CNAME_PTRRecord(Name name,
int type,
int dclass,
long ttl,
Name target)
rrFromWire
protected static Record rrFromWire(NS_CNAME_PTRRecord rec,
DataByteInputStream in)
throws IOException
- Throws:
IOException
rdataFromString
protected static Record rdataFromString(NS_CNAME_PTRRecord rec,
Tokenizer st,
Name origin)
throws IOException
- Throws:
IOException
rdataToString
public String rdataToString()
- Converts the NS, CNAME, or PTR Record to a String
- Specified by:
rdataToString
in class Record
getTarget
public Name getTarget()
- Gets the target of the NS, CNAME, or PTR Record