Package org.apache.poi.hslf.record
Class DummyRecordWithChildren
java.lang.Object
org.apache.poi.hslf.record.Record
org.apache.poi.hslf.record.RecordContainer
org.apache.poi.hslf.record.DummyRecordWithChildren
If we come across a record we know has children of (potential)
interest, but where the record itself is boring, we create one
of these. It allows us to get at the children, but not much else
- Author:
- Nick Burch
-
Field Summary
Fields inherited from class org.apache.poi.hslf.record.RecordContainer
_children
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DummyRecordWithChildren
(byte[] source, int start, int len) Create a new holder for a boring record with children -
Method Summary
Modifier and TypeMethodDescriptionlong
Return the value we were given at creationvoid
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.RecordContainer
addChildAfter, addChildBefore, appendChildRecord, findFirstOfType, getChildRecords, handleParentAwareRecords, isAnAtom, moveChildBefore, moveChildrenAfter, moveChildrenBefore, removeChild, setChildRecord, writeOut
Methods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
-
Constructor Details
-
DummyRecordWithChildren
protected DummyRecordWithChildren(byte[] source, int start, int len) Create a new holder for a boring record with children
-
-
Method Details
-
getRecordType
public long getRecordType()Return the value we were given at creation- 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
-