org.xbill.DNS
Class NULLRecord

java.lang.Object
  extended by org.xbill.DNS.Record
      extended by org.xbill.DNS.NULLRecord
All Implemented Interfaces:
Cloneable, Comparable

public class NULLRecord
extends Record

The NULL Record. This has no defined purpose, but can be used to hold arbitrary data.

Author:
Brian Wellington

Field Summary
 
Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type
 
Constructor Summary
NULLRecord(Name name, int dclass, long ttl, byte[] data)
          Creates a NULL record from the given data.
 
Method Summary
 byte[] getData()
          Returns the contents of this record.
 
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, toString, toWire, toWireCanonical, unknownToString, withName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NULLRecord

public NULLRecord(Name name,
                  int dclass,
                  long ttl,
                  byte[] data)
Creates a NULL record from the given data.

Parameters:
data - The contents of the record.
Method Detail

getData

public byte[] getData()
Returns the contents of this record.