org.xbill.DNS
Class NSAPRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.NSAPRecord
- All Implemented Interfaces:
- Cloneable, Comparable
public class NSAPRecord
- extends Record
NSAP Address Record.
- Author:
- Brian Wellington
Constructor Summary |
NSAPRecord(Name name,
int dclass,
long ttl,
String address)
Creates an NSAP Record from 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 |
NSAPRecord
public NSAPRecord(Name name,
int dclass,
long ttl,
String address)
- Creates an NSAP Record from the given data
- Parameters:
address
- The NSAP address.
- Throws:
IllegalArgumentException
- The address is not a valid NSAP address.
getAddress
public String getAddress()
- Returns the NSAP address.