Package org.xbill.DNS
Class X25Record
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.X25Record
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Record>
X25 - identifies the PSDN (Public Switched Data Network) address in the X.121 numbering plan
associated with a name.
- Author:
- Brian Wellington
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the X.25 PSDN address.protected void
rdataFromString
(Tokenizer st, Name origin) Converts the text format of an RR to the internal format - must be overridenprotected void
rrFromWire
(DNSInput in) Converts the type-specific RR to wire format - must be overriddenprotected String
Converts the type-specific RR to text format - must be overridden.protected void
rrToWire
(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
-
X25Record
Creates an X25 Record from the given data- Parameters:
address
- The X.25 PSDN address.- Throws:
IllegalArgumentException
- The address is not a valid PSDN address.
-
-
Method Details
-
rrFromWire
Description copied from class:Record
Converts the type-specific RR to wire format - must be overridden- Specified by:
rrFromWire
in classRecord
- Throws:
IOException
-
rdataFromString
Description copied from class:Record
Converts the text format of an RR to the internal format - must be overriden- Specified by:
rdataFromString
in classRecord
- Throws:
IOException
-
getAddress
Returns the X.25 PSDN address. -
rrToWire
Description copied from class:Record
Converts the type-specific RR to wire format - must be overridden. -
rrToString
Description copied from class:Record
Converts the type-specific RR to text format - must be overridden.- Specified by:
rrToString
in classRecord
-