| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<byte[]> |
strings |
| Modifier | Constructor and Description |
|---|---|
protected |
TXTBase() |
protected |
TXTBase(Name name,
int type,
int dclass,
long ttl) |
protected |
TXTBase(Name name,
int type,
int dclass,
long ttl,
java.util.List<java.lang.String> strings) |
protected |
TXTBase(Name name,
int type,
int dclass,
long ttl,
java.lang.String string) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getStrings()
Returns the text strings
|
java.util.List<byte[]> |
getStringsAsByteArrays()
Returns the text strings
|
protected void |
rdataFromString(Tokenizer st,
Name origin)
Converts the text format of an RR to the internal format - must be overriden
|
protected void |
rrFromWire(DNSInput in)
Converts the type-specific RR to wire format - must be overridden
|
protected java.lang.String |
rrToString()
converts to a String
|
protected void |
rrToWire(DNSOutput out,
Compression c,
boolean canonical)
Converts the type-specific RR to wire format - must be overridden.
|
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, setTTL, toString, toWire, toWire, toWireCanonical, unknownToString, withDClass, withName, writeReplaceprotected TXTBase()
protected TXTBase(Name name, int type, int dclass, long ttl)
protected TXTBase(Name name, int type, int dclass, long ttl, java.util.List<java.lang.String> strings)
protected TXTBase(Name name, int type, int dclass, long ttl, java.lang.String string)
protected void rrFromWire(DNSInput in) throws java.io.IOException
RecordrrFromWire in class Recordjava.io.IOExceptionprotected void rdataFromString(Tokenizer st, Name origin) throws java.io.IOException
RecordrdataFromString in class Recordjava.io.IOExceptionprotected java.lang.String rrToString()
rrToString in class Recordpublic java.util.List<java.lang.String> getStrings()
public java.util.List<byte[]> getStringsAsByteArrays()
protected void rrToWire(DNSOutput out, Compression c, boolean canonical)
Record