| java.lang.Object org.apache.poi.hslf.record.Record org.apache.poi.hslf.record.RecordAtom org.apache.poi.hslf.record.CString
CString | public class CString extends RecordAtom (Code) | | A CString (type 4026). Holds a unicode string, and the first two bytes
of the record header normally encode the count. Typically attached to
some complex sequence of records, eg Commetns.
author: Nick Burch |
Constructor Summary | |
protected | CString(byte[] source, int start, int len) | public | CString() |
CString | protected CString(byte[] source, int start, int len)(Code) | | For the CStrubg Atom
|
CString | public CString()(Code) | | Create an empty CString
|
getCount | public int getCount()(Code) | | Grabs the count, from the first two bytes of the header.
The meaning of the count is specific to the type of the parent record
|
getRecordType | public long getRecordType()(Code) | | We are of type 4026
|
setCount | public void setCount(int count)(Code) | | Sets the count
The meaning of the count is specific to the type of the parent record
|
setText | public void setText(String text)(Code) | | Updates the text in the Atom.
|
toString | public String toString()(Code) | | Gets a string representation of this object, primarily for debugging.
a string representation of this object. |
|
|