org.xbill.DNS
Class RPRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.RPRecord
- All Implemented Interfaces:
- Cloneable, Comparable
- public class RPRecord
- extends Record
Responsible Person Record - lists the mail address of a responsible person
and a domain where TXT records are available.
- Author:
- Tom Scola , Brian Wellington
Constructor Summary |
RPRecord(Name name,
int dclass,
long ttl,
Name mailbox,
Name textDomain)
Creates an RP Record from the given data |
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, rdataToWireCanonical, remainingStrings, toString, toWire, toWireCanonical, withName |
RPRecord
public RPRecord(Name name,
int dclass,
long ttl,
Name mailbox,
Name textDomain)
- Creates an RP Record from the given data
- Parameters:
mailbox
- The responsible persontextDomain
- The address where TXT records can be found
rdataToString
public String rdataToString()
- Converts the RP Record to a String
- Specified by:
rdataToString
in class Record
getMailbox
public Name getMailbox()
- Gets the mailbox address of the RP Record
getTextDomain
public Name getTextDomain()
- Gets the text domain info of the RP Record