Package org.xbill.DNS
Class NSAP_PTRRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.NSAP_PTRRecord
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Record>
NSAP Pointer Record - maps a domain name representing an NSAP Address to a hostname. (obsolete)
- Author:
- Brian Wellington
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNSAP_PTRRecord(Name name, int dclass, long ttl, Name target) Creates a new NSAP_PTR Record with the given data -
Method Summary
Modifier and TypeMethodDescriptionprotected NameGets the target of the NSAP_PTR Recordprotected voidrdataFromString(Tokenizer st, Name origin) Converts the text format of an RR to the internal format - must be overridenprotected voidrrFromWire(DNSInput in) Converts the type-specific RR to wire format - must be overriddenprotected StringConverts the type-specific RR to text format - must be overridden.protected voidrrToWire(DNSOutput out, Compression c, boolean canonical) Converts the type-specific RR to wire format - must be overridden.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, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName
-
Field Details
-
singleName
-
-
Constructor Details
-
NSAP_PTRRecord
Creates a new NSAP_PTR Record with the given data- Parameters:
target- The name of the host with this address
-
-
Method Details
-
getTarget
Gets the target of the NSAP_PTR Record -
rrFromWire
Description copied from class:RecordConverts the type-specific RR to wire format - must be overridden- Specified by:
rrFromWirein classRecord- Throws:
IOException
-
rdataFromString
Description copied from class:RecordConverts the text format of an RR to the internal format - must be overriden- Specified by:
rdataFromStringin classRecord- Throws:
IOException
-
rrToString
Description copied from class:RecordConverts the type-specific RR to text format - must be overridden.- Specified by:
rrToStringin classRecord
-
getSingleName
-
rrToWire
Description copied from class:RecordConverts the type-specific RR to wire format - must be overridden.
-