public final class TextCharsAtom extends RecordAtom
Modifier | Constructor and Description |
---|---|
|
TextCharsAtom()
Create an empty TextCharsAtom
|
protected |
TextCharsAtom(byte[] source,
int start,
int len)
For the TextChars Atom
|
Modifier and Type | Method and Description |
---|---|
long |
getRecordType()
We are of type 4000
|
String |
getText()
Grabs the text.
|
void |
setText(String text)
Updates the text in the Atom.
|
String |
toString()
dump debug info; use getText() to return a string
representation of the atom
|
void |
writeOut(OutputStream out)
Write the contents of the record back, so it can be written
to disk
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
protected TextCharsAtom(byte[] source, int start, int len)
public TextCharsAtom()
public String getText()
public void setText(String text)
public long getRecordType()
getRecordType
in class Record
public void writeOut(OutputStream out) throws IOException
writeOut
in class Record
IOException
Copyright © 2020. All rights reserved.