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
- All Implemented Interfaces:
GenericRecord
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
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUnknownRecordPlaceholder(byte[] source, int start, int len) Create a new holder for a record we don't grok -
Method Summary
Modifier and TypeMethodDescriptionstatic intlongReturn the value we were given at creationReturn the value as enum we were given at creationstatic voidsetMaxRecordLength(int length) voidwriteOut(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, isAnAtomMethods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, 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
-
setMaxRecordLength
public static void setMaxRecordLength(int length) -
getMaxRecordLength
public static int getMaxRecordLength() -
getRecordType
public long getRecordType()Return the value we were given at creation- Specified by:
getRecordTypein classRecord
-
getRecordTypeEnum
Return the value as enum we were given at creation -
writeOut
Write the contents of the record back, so it can be written to disk- Specified by:
writeOutin classRecord- Throws:
IOException
-
getGenericProperties
-