public final class TextCharsAtom extends RecordAtom
Modifier and Type | Field and Description |
---|---|
static long |
_type |
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 |
---|---|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
long |
getRecordType()
We are of type 4000
|
java.lang.String |
getText()
Grabs the text.
|
void |
setText(java.lang.String text)
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
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
protected TextCharsAtom(byte[] source, int start, int len)
public TextCharsAtom()
public java.lang.String getText()
public void setText(java.lang.String text)
public long getRecordType()
getRecordType
in class Record
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.