|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xbill.DNS.Record
org.xbill.DNS.NAPTRRecord
public class NAPTRRecord
Name Authority Pointer Record - specifies rewrite rule, that when applied to an existing string will produce a new domain.
Field Summary |
---|
Fields inherited from class org.xbill.DNS.Record |
---|
dclass, name, ttl, type |
Constructor Summary | |
---|---|
NAPTRRecord(Name name,
int dclass,
long ttl,
int order,
int preference,
String flags,
String service,
String regexp,
Name replacement)
Creates an NAPTR Record from the given data |
Method Summary | |
---|---|
Name |
getAdditionalName()
Returns the name for which additional data processing should be done for this record. |
String |
getFlags()
Returns flags |
int |
getOrder()
Returns the order |
int |
getPreference()
Returns the preference |
String |
getRegexp()
Returns regexp |
Name |
getReplacement()
Returns the replacement domain-name |
String |
getService()
Returns service |
Methods inherited from class org.xbill.DNS.Record |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NAPTRRecord(Name name, int dclass, long ttl, int order, int preference, String flags, String service, 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.
IllegalArgumentException
- One of the strings has invalid escapesMethod Detail |
---|
public int getOrder()
public int getPreference()
public String getFlags()
public String getService()
public String getRegexp()
public Name getReplacement()
public Name getAdditionalName()
Record
getAdditionalName
in class Record
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |