public final class TextBytesAtom extends RecordAtom
| Modifier | Constructor | Description |
|---|---|---|
|
TextBytesAtom() |
Create an empty TextBytes Atom
|
protected |
TextBytesAtom(byte[] source,
int start,
int len) |
For the TextBytes Atom
|
| Modifier and Type | Method | Description |
|---|---|---|
long |
getRecordType() |
We are of type 4008
|
java.lang.String |
getText() |
Grabs the text.
|
void |
setText(byte[] b) |
Updates the text in the Atom.
|
java.lang.String |
toString() |
dump debug info; use getText() to return a string
representation of the atom
|
void |
writeOut(java.io.OutputStream out) |
Write the contents of the record back, so it can be written
to disk
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndiangetChildRecords, isAnAtomprotected TextBytesAtom(byte[] source,
int start,
int len)
public TextBytesAtom()
public java.lang.String getText()
public void setText(byte[] b)
public long getRecordType()
getRecordType in class Recordpublic void writeOut(java.io.OutputStream out)
throws java.io.IOException
public java.lang.String toString()
toString in class java.lang.ObjectCopyright 2018 The Apache Software Foundation or its licensors, as applicable.