Package org.xbill.DNS
Class UNKRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.UNKRecord
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<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:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]getData()Returns the contents of this record.protected 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 this Record to the String "unknown format"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
-
Method Details
-
rrFromWire
Description copied from class:RecordConverts the type-specific RR to wire format - must be overridden- Specified by:
rrFromWirein classRecord
-
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
Converts this Record to the String "unknown format"- Specified by:
rrToStringin classRecord
-
getData
public byte[] getData()Returns the contents of this record. -
rrToWire
Description copied from class:RecordConverts the type-specific RR to wire format - must be overridden.
-