Package org.xbill.DNS

Class ISDNRecord

java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.ISDNRecord
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Record>

public class ISDNRecord extends Record
ISDN - identifies the ISDN number and subaddress associated with a name.
Author:
Brian Wellington
See Also:
  • Constructor Details

    • ISDNRecord

      public ISDNRecord(Name name, int dclass, long ttl, String address, String subAddress)
      Creates an ISDN Record from the given data
      Parameters:
      address - The ISDN number associated with the domain.
      subAddress - The subaddress, if any.
      Throws:
      IllegalArgumentException - One of the strings is invalid.
  • Method Details

    • 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
    • getAddress

      public String getAddress()
      Returns the ISDN number associated with the domain.
    • getSubAddress

      public String getSubAddress()
      Returns the ISDN subaddress, or null if there is none.
    • 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
    • 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