org.xbill.DNS
public class NAPTRRecord extends Record
Constructor and Description |
---|
NAPTRRecord(Name name,
int dclass,
long ttl,
int order,
int preference,
java.lang.String flags,
java.lang.String service,
java.lang.String regexp,
Name replacement)
Creates an NAPTR Record from the given data
|
Modifier and Type | Method and Description |
---|---|
Name |
getAdditionalName()
Returns the name for which additional data processing should be done
for this record.
|
java.lang.String |
getFlags()
Returns flags
|
int |
getOrder()
Returns the order
|
int |
getPreference()
Returns the preference
|
java.lang.String |
getRegexp()
Returns regexp
|
Name |
getReplacement()
Returns the replacement domain-name
|
java.lang.String |
getService()
Returns service
|
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName
public NAPTRRecord(Name name, int dclass, long ttl, int order, int preference, java.lang.String flags, java.lang.String service, java.lang.String regexp, Name replacement)
order
- The order of this NAPTR. Records with lower order are
preferred.preference
- The preference, used to select between records at the
same order.flags
- The control aspects of the NAPTRRecord.service
- The service or protocol available down the rewrite path.regexp
- The regular/substitution expression.replacement
- The domain-name to query for the next DNS resource
record, depending on the value of the flags field.java.lang.IllegalArgumentException
- One of the strings has invalid escapespublic int getOrder()
public int getPreference()
public java.lang.String getFlags()
public java.lang.String getService()
public java.lang.String getRegexp()
public Name getReplacement()
public Name getAdditionalName()
Record
getAdditionalName
in class Record