Package org.xbill.DNS
Class TXTRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.TXTBase
org.xbill.DNS.TXTRecord
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Record>
Text - stores text strings
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.xbill.DNS.TXTBase
getStrings, getStringsAsByteArrays, rdataFromString, rrFromWire, rrToString, rrToWireMethods inherited from class org.xbill.DNS.Record
byteArrayFromString, byteArrayToString, checkByteArrayLength, checkName, checkU16, checkU32, checkU8, cloneRecord, compareTo, equals, fromString, fromString, fromWire, fromWire, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, sameRRset, setTTL, toString, toWire, toWire, toWireCanonical, unknownToString, withDClass, withName, writeReplace
-
Constructor Details
-
TXTRecord
TXTRecord() -
TXTRecord
Creates a TXT Record from the given data- Parameters:
strings- The text strings- Throws:
IllegalArgumentException- One of the strings has invalid escapes
-
TXTRecord
Creates a TXT Record from the given data- Parameters:
string- One text string- Throws:
IllegalArgumentException- The string has invalid escapes
-