public class DefaultEscherRecordFactory extends java.lang.Object implements EscherRecordFactory
EscherRecordFactory
Constructor and Description |
---|
DefaultEscherRecordFactory()
Creates an instance of the escher record factory
|
Modifier and Type | Method and Description |
---|---|
EscherRecord |
createRecord(byte[] data, int offset)
Generates an escher record including any children contained under that record.
(生成一个 escher 记录,包括该记录下包含的任何子项。)
|
protected java.util.function.Supplier<? extends EscherRecord> |
getConstructor(short options, short recordId) |
static boolean |
isContainer(short options, short recordId)
Deprecated.
this method is not used anymore to identify container records
(已弃用。此方法不再用于识别容器记录)
|
public DefaultEscherRecordFactory()
public EscherRecord createRecord(byte[] data, int offset)
EscherRecordFactory
createRecord
in interface
EscherRecordFactory
(接口 EscherRecordFactory 中的 createRecord)
data
- The byte array containing the records
(data - 包含记录的字节数组)
offset
- The starting offset into the byte array
(offset - 字节数组的起始偏移量)
protected java.util.function.Supplier<? extends EscherRecord> getConstructor(short options, short recordId)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.