org.xbill.DNS
Class RPRecord

java.lang.Object
  |
  +--org.xbill.DNS.Record
        |
        +--org.xbill.DNS.RPRecord

public class RPRecord
extends Record

Responsible Person Record - lists the mail address of a responsible person and a domain where TXT records are available.


Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type, wireLength
 
Constructor Summary
RPRecord(Name _name, short _dclass, int _ttl, Name _mailbox, Name _textDomain)
          Creates an RP Record from the given data
 
Method Summary
 Name getMailbox()
          Gets the mailbox address of the RP Record
 Name getTextDomain()
          Gets the text domain info of the RP Record
 String toString()
          Converts the RP Record to a String
 
Methods inherited from class org.xbill.DNS.Record
equals, fromString, fromWire, getDClass, getName, getRRsetType, getTTL, getType, getWireLength, hashCode, newRecord, newRecord, newRecord, toWire, toWireCanonical, withName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RPRecord

public RPRecord(Name _name,
                short _dclass,
                int _ttl,
                Name _mailbox,
                Name _textDomain)
Creates an RP Record from the given data
Parameters:
mailbox - The responsible person
textdomain - The address where TXT records can be found
Method Detail

toString

public String toString()
Converts the RP Record to a String
Overrides:
toString 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