public final class CString extends RecordAtom
Modifier | Constructor and Description |
---|---|
|
CString()
Create an empty CString
|
protected |
CString(byte[] source,
int start,
int len)
For the CStrubg Atom
|
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
|
java.lang.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(java.lang.String text)
Updates the text in the Atom.
|
java.lang.String |
toString()
Gets a string representation of this object, primarily for debugging.
|
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, writeLittleEndian, writeLittleEndian
protected CString(byte[] source, int start, int len)
public CString()
public java.lang.String getText()
null
public void setText(java.lang.String text)
public int getOptions()
public void setOptions(int count)
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
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.