org.xbill.DNS
Class NS_CNAME_PTRRecord
java.lang.Object
|
+--org.xbill.DNS.Record
|
+--org.xbill.DNS.NS_CNAME_PTRRecord
- Direct Known Subclasses:
- CNAMERecord, DNAMERecord, NSRecord, PTRRecord
- public class NS_CNAME_PTRRecord
- extends Record
Implements NS, CNAME, PTR, and DNAME records, which have identical formats
|
Constructor Summary |
protected |
NS_CNAME_PTRRecord()
|
protected |
NS_CNAME_PTRRecord(Name _name,
short _type,
short _dclass,
int _ttl,
int length,
DataByteInputStream in,
org.xbill.DNS.Compression c)
|
protected |
NS_CNAME_PTRRecord(Name _name,
short _type,
short _dclass,
int _ttl,
MyStringTokenizer st,
Name origin)
|
|
NS_CNAME_PTRRecord(Name _name,
short _type,
short _dclass,
int _ttl,
Name _target)
|
|
Method Summary |
Name |
getTarget()
Gets the target of the NS, CNAME, or PTR Record |
String |
toString()
Converts the NS, CNAME, or PTR Record 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 |
NS_CNAME_PTRRecord
protected NS_CNAME_PTRRecord()
NS_CNAME_PTRRecord
public NS_CNAME_PTRRecord(Name _name,
short _type,
short _dclass,
int _ttl,
Name _target)
NS_CNAME_PTRRecord
protected NS_CNAME_PTRRecord(Name _name,
short _type,
short _dclass,
int _ttl,
int length,
DataByteInputStream in,
org.xbill.DNS.Compression c)
throws IOException
NS_CNAME_PTRRecord
protected NS_CNAME_PTRRecord(Name _name,
short _type,
short _dclass,
int _ttl,
MyStringTokenizer st,
Name origin)
throws IOException
toString
public String toString()
- Converts the NS, CNAME, or PTR Record to a String
- Overrides:
- toString in class Record
getTarget
public Name getTarget()
- Gets the target of the NS, CNAME, or PTR Record