Package org.xbill.DNS

Class UNKRecord

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

public class UNKRecord extends Record
A class implementing Records of unknown and/or unimplemented types. This class can only be initialized using static Record initializers.
Author:
Brian Wellington
See Also:
  • Method Details

    • rrFromWire

      protected void rrFromWire(DNSInput in)
      Description copied from class: Record
      Converts the type-specific RR to wire format - must be overridden
      Specified by:
      rrFromWire in class Record
    • 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()
      Converts this Record to the String "unknown format"
      Specified by:
      rrToString in class Record
    • getData

      public byte[] getData()
      Returns the contents of this record.
    • 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