Modifier and Type | Field and Description |
---|---|
protected byte[] |
blob |
Constructor and Description |
---|
TXT() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBlob() |
List<byte[]> |
getExtents() |
String |
getText() |
Record.TYPE |
getType()
The payload type.
|
void |
parse(DataInputStream dis,
byte[] data,
int length)
Parse this payload.
|
void |
setBlob(byte[] blob) |
void |
setText(String text) |
byte[] |
toByteArray()
Binary representation of this payload.
|
String |
toString() |
public byte[] getBlob()
public void setBlob(byte[] blob)
public String getText()
public List<byte[]> getExtents()
public void setText(String text)
public byte[] toByteArray()
Data
toByteArray
in interface Data
public void parse(DataInputStream dis, byte[] data, int length) throws IOException
Data
parse
in interface Data
dis
- The input stream.data
- The plain data (needed for name cross references).length
- The payload length.IOException
- on io error (read past paket boundary).public Record.TYPE getType()
Data
Copyright © 2014–2018. All rights reserved.