Package org.apache.poi.ddf
Class DefaultEscherRecordFactory
java.lang.Object
org.apache.poi.ddf.DefaultEscherRecordFactory
- All Implemented Interfaces:
EscherRecordFactory
- Direct Known Subclasses:
HSLFEscherRecordFactory
Generates escher records when provided the byte array containing those records.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of the escher record factory -
Method Summary
Modifier and TypeMethodDescriptioncreateRecord(byte[] data, int offset) Generates an escher record including any children contained under that record.
-
Constructor Details
-
DefaultEscherRecordFactory
public DefaultEscherRecordFactory()Creates an instance of the escher record factory
-
-
Method Details
-
createRecord
Description copied from interface:EscherRecordFactoryGenerates an escher record including any children contained under that record. An exception is thrown if the record could not be generated.- Specified by:
createRecordin interfaceEscherRecordFactory- Parameters:
data- The byte array containing the recordsoffset- The starting offset into the byte array- Returns:
- The generated escher record
-