org.xbill.DNS
Class ISDNRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.ISDNRecord
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable
public class ISDNRecord
- extends Record
ISDN - identifies the ISDN number and subaddress associated with a name.
- Author:
- Brian Wellington
Constructor Summary |
ISDNRecord(Name name,
int dclass,
long ttl,
java.lang.String address,
java.lang.String subAddress)
Creates an ISDN Record from the given data |
Method Summary |
java.lang.String |
getAddress()
Returns the ISDN number associated with the domain. |
java.lang.String |
getSubAddress()
Returns the ISDN subaddress, or null if there is none. |
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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ISDNRecord
public ISDNRecord(Name name,
int dclass,
long ttl,
java.lang.String address,
java.lang.String subAddress)
- Creates an ISDN Record from the given data
- Parameters:
address
- The ISDN number associated with the domain.subAddress
- The subaddress, if any.
- Throws:
java.lang.IllegalArgumentException
- One of the strings is invalid.
getAddress
public java.lang.String getAddress()
- Returns the ISDN number associated with the domain.
getSubAddress
public java.lang.String getSubAddress()
- Returns the ISDN subaddress, or null if there is none.