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
public final class UnknownRecordPlaceholder extends RecordAtom
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.function.Supplier<?>>
getGenericProperties()
long
getRecordType()
Return the value we were given at creationRecordTypes
getRecordTypeEnum()
Return the value as enum we were given at creationvoid
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written to disk-
Methods 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
-
-
-
-
Method Detail
-
getRecordType
public long getRecordType()
Return the value we were given at creation- Specified by:
getRecordType
in classRecord
-
getRecordTypeEnum
public RecordTypes getRecordTypeEnum()
Return the value as enum we were given at creation
-
writeOut
public void writeOut(java.io.OutputStream out) throws java.io.IOException
Write the contents of the record back, so it can be written to disk
-
getGenericProperties
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
-
-