Package org.xbill.DNS
Class RPRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.RPRecord
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Record>
Responsible Person Record - lists the mail address of a responsible person and a domain where TXT
records are available.
- Author:
- Tom Scola (tscola@research.att.com), Brian Wellington
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the mailbox address of the RP RecordGets the text domain info of the RP Recordprotected 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 the RP Record to a Stringprotected 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
-
Constructor Details
-
RPRecord
Creates an RP Record from the given data- Parameters:
mailbox- The responsible persontextDomain- The address where TXT records can be found
-
-
Method Details
-
rrFromWire
Description copied from class:RecordConverts the type-specific RR to wire format - must be overridden- Specified by:
rrFromWirein classRecord- Throws:
IOException
-
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 the RP Record to a String- Specified by:
rrToStringin classRecord
-
getMailbox
Gets the mailbox address of the RP Record -
getTextDomain
Gets the text domain info of the RP Record -
rrToWire
Description copied from class:RecordConverts the type-specific RR to wire format - must be overridden.
-