|
||||||||||
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.TXTRecord
Text - stores text strings
Field Summary |
Fields inherited from class org.xbill.DNS.Record |
dclass, name, ttl, type |
Constructor Summary | |
TXTRecord(Name name,
int dclass,
long ttl,
List strings)
Creates a TXT Record from the given data |
|
TXTRecord(Name name,
int dclass,
long ttl,
String string)
Creates a TXT Record from the given data |
Method Summary | |
List |
getStrings()
Returns the text strings |
List |
getStringsAsByteArrays()
Returns the text strings |
String |
rdataToString()
converts to a String |
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, rdataToWireCanonical, remainingStrings, toString, toWire, toWireCanonical, withName |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TXTRecord(Name name, int dclass, long ttl, List strings)
strings
- The text strings
IllegalArgumentException
- One of the strings has invalid escapespublic TXTRecord(Name name, int dclass, long ttl, String string)
string
- One text string
IllegalArgumentException
- The string has invalid escapesMethod Detail |
public String rdataToString()
rdataToString
in class Record
public List getStrings()
public List getStringsAsByteArrays()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |