Package org.xbill.DNS
Class ISDNRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.ISDNRecord
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Record>
ISDN - identifies the ISDN number and subaddress associated with a name.
- Author:
- Brian Wellington
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionISDNRecord(Name name, int dclass, long ttl, String address, String subAddress) Creates an ISDN Record from the given data -
Method Summary
Modifier and TypeMethodDescriptionReturns the ISDN number associated with the domain.Returns the ISDN subaddress, or null if there is none.protected 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 type-specific RR to text format - must be overridden.protected 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
-
ISDNRecord
Creates an ISDN Record from the given data- Parameters:
address- The ISDN number associated with the domain.subAddress- The subaddress, if any.- Throws:
IllegalArgumentException- One of the strings is invalid.
-
-
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
-
getAddress
Returns the ISDN number associated with the domain. -
getSubAddress
Returns the ISDN subaddress, or null if there is none. -
rrToWire
Description copied from class:RecordConverts the type-specific RR to wire format - must be overridden. -
rrToString
Description copied from class:RecordConverts the type-specific RR to text format - must be overridden.- Specified by:
rrToStringin classRecord
-