public final class CString extends RecordAtom
| Constructor and Description |
|---|
CString()
Create an empty CString
|
| Modifier and Type | Method and Description |
|---|---|
int |
getOptions()
Grabs the count, from the first two bytes of the header.
|
long |
getRecordType()
We are of type 4026
|
String |
getText()
Grabs the text.
|
void |
setOptions(int count)
Sets the count
The meaning of the count is specific to the type of the parent record
|
void |
setText(String text)
Updates the text in the Atom.
|
String |
toString()
Gets a string representation of this object, primarily for debugging.
|
void |
writeOut(OutputStream out)
Write the contents of the record back, so it can be written
to disk
|
getChildRecords, isAnAtombuildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndianpublic String getText()
nullpublic void setText(String text)
public int getOptions()
public void setOptions(int count)
public long getRecordType()
getRecordType in class Recordpublic void writeOut(OutputStream out) throws IOException
writeOut in class RecordIOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved