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>

public class NSAP_PTRRecord extends Record
NSAP Pointer Record - maps a domain name representing an NSAP Address to a hostname. (obsolete)
Author:
Brian Wellington
See Also:
  • Field Details

    • singleName

      protected Name singleName
  • Constructor Details

    • NSAP_PTRRecord

      public NSAP_PTRRecord(Name name, int dclass, long ttl, Name target)
      Creates a new NSAP_PTR Record with the given data
      Parameters:
      target - The name of the host with this address
  • Method Details

    • getTarget

      public Name getTarget()
      Gets the target of the NSAP_PTR Record
    • rrFromWire

      protected void rrFromWire(DNSInput in) throws IOException
      Description copied from class: Record
      Converts the type-specific RR to wire format - must be overridden
      Specified by:
      rrFromWire in class Record
      Throws:
      IOException
    • rdataFromString

      protected void rdataFromString(Tokenizer st, Name origin) throws IOException
      Description copied from class: Record
      Converts the text format of an RR to the internal format - must be overriden
      Specified by:
      rdataFromString in class Record
      Throws:
      IOException
    • rrToString

      protected String rrToString()
      Description copied from class: Record
      Converts the type-specific RR to text format - must be overridden.
      Specified by:
      rrToString in class Record
    • getSingleName

      protected Name getSingleName()
    • rrToWire

      protected void rrToWire(DNSOutput out, Compression c, boolean canonical)
      Description copied from class: Record
      Converts the type-specific RR to wire format - must be overridden.
      Specified by:
      rrToWire in class Record