Package org.apache.poi.hslf.record
Class TextCharsAtom
java.lang.Object
org.apache.poi.hslf.record.Record
org.apache.poi.hslf.record.RecordAtom
org.apache.poi.hslf.record.TextCharsAtom
- All Implemented Interfaces:
GenericRecord
A TextCharsAtom (type 4000). Holds text in byte swapped unicode form.
The trailing return character is always stripped from this
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
We are of type 4000getText()
Grabs the text.void
Updates the text in the Atom.toString()
dump debug info; use getText() to return a string representation of the atomvoid
writeOut
(OutputStream out) Write the contents of the record back, so it can be written to diskMethods inherited from class org.apache.poi.hslf.record.RecordAtom
getChildRecords, getMaxRecordLength, isAnAtom, setMaxRecordLength
Methods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
-
Field Details
-
_type
public static final long _type
-
-
Constructor Details
-
TextCharsAtom
public TextCharsAtom()Create an empty TextCharsAtom
-
-
Method Details
-
getText
Grabs the text. -
setText
Updates the text in the Atom. -
getRecordType
public long getRecordType()We are of type 4000- Specified by:
getRecordType
in classRecord
-
writeOut
Write the contents of the record back, so it can be written to disk- Specified by:
writeOut
in classRecord
- Throws:
IOException
-
toString
dump debug info; use getText() to return a string representation of the atom -
getGenericProperties
-