Constructor and Description |
---|
TXTRecord() |
TXTRecord(Name name,
int dclass,
long ttl,
java.util.List<java.lang.String> strings)
Creates a TXT Record from the given data
|
TXTRecord(Name name,
int dclass,
long ttl,
java.lang.String string)
Creates a TXT Record from the given data
|
getStrings, getStringsAsByteArrays, rdataFromString, rrFromWire, rrToString, rrToWire
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
TXTRecord()
public TXTRecord(Name name, int dclass, long ttl, java.util.List<java.lang.String> strings)
strings
- The text stringsjava.lang.IllegalArgumentException
- One of the strings has invalid escapespublic TXTRecord(Name name, int dclass, long ttl, java.lang.String string)
string
- One text stringjava.lang.IllegalArgumentException
- The string has invalid escapes