org.xbill.DNS
Class MGRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.MGRecord
- All Implemented Interfaces:
- Cloneable, Comparable
public class MGRecord
- extends Record
Mail Group Record - specifies a mailbox which is a member of a mail group.
- Author:
- Brian Wellington
Constructor Summary |
MGRecord(Name name,
int dclass,
long ttl,
Name mailbox)
Creates a new MG Record with 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, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName |
singleName
protected Name singleName
MGRecord
public MGRecord(Name name,
int dclass,
long ttl,
Name mailbox)
- Creates a new MG Record with the given data
- Parameters:
mailbox
- The mailbox that is a member of the group specified by the
domain.
getMailbox
public Name getMailbox()
- Gets the mailbox in the mail group specified by the domain
getSingleName
protected Name getSingleName()