Package org.apache.poi.hslf.record
Class UnknownRecordPlaceholder
java.lang.Object
org.apache.poi.hslf.record.Record
org.apache.poi.hslf.record.RecordAtom
org.apache.poi.hslf.record.UnknownRecordPlaceholder
If we come across a record we don't know about, we create one of
these. It allows us to keep track of what it contains, so we can
write it back out to disk unchanged
- Author:
- Nick Burch
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
UnknownRecordPlaceholder
(byte[] source, int start, int len) Create a new holder for a record we don't grok -
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.RecordAtom
getChildRecords, isAnAtom
Methods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
-
Constructor Details
-
UnknownRecordPlaceholder
protected UnknownRecordPlaceholder(byte[] source, int start, int len) Create a new holder for a record we don't grok
-
-
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
-