Package de.measite.minidns.record
Class TXT
- java.lang.Object
-
- de.measite.minidns.record.TXT
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
blob
-
Constructor Summary
Constructors Constructor Description TXT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBlob()
java.util.List<byte[]>
getExtents()
java.lang.String
getText()
Record.TYPE
getType()
The payload type.void
parse(java.io.DataInputStream dis, byte[] data, int length)
Parse this payload.void
setBlob(byte[] blob)
void
setText(java.lang.String text)
byte[]
toByteArray()
Binary representation of this payload.java.lang.String
toString()
-
-
-
Method Detail
-
getBlob
public byte[] getBlob()
-
setBlob
public void setBlob(byte[] blob)
-
getText
public java.lang.String getText()
-
getExtents
public java.util.List<byte[]> getExtents()
-
setText
public void setText(java.lang.String text)
-
toByteArray
public byte[] toByteArray()
Description copied from interface:Data
Binary representation of this payload.- Specified by:
toByteArray
in interfaceData
- Returns:
- The binary representation of this payload.
-
parse
public void parse(java.io.DataInputStream dis, byte[] data, int length) throws java.io.IOException
Description copied from interface:Data
Parse this payload.
-
getType
public Record.TYPE getType()
Description copied from interface:Data
The payload type.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-