Class HSLFEscherRecordFactory

java.lang.Object
org.apache.poi.ddf.DefaultEscherRecordFactory
org.apache.poi.hslf.record.HSLFEscherRecordFactory
All Implemented Interfaces:
EscherRecordFactory

public class HSLFEscherRecordFactory extends DefaultEscherRecordFactory
Generates escher records when provided the byte array containing those records.
See Also:
  • Constructor Details

    • HSLFEscherRecordFactory

      public HSLFEscherRecordFactory()
      Creates an instance of the escher record factory
  • Method Details

    • createRecord

      public EscherRecord createRecord(byte[] data, int offset)
      Description copied from interface: EscherRecordFactory
      Generates an escher record including any children contained under that record. An exception is thrown if the record could not be generated.
      Specified by:
      createRecord in interface EscherRecordFactory
      Overrides:
      createRecord in class DefaultEscherRecordFactory
      Parameters:
      data - The byte array containing the records
      offset - The starting offset into the byte array
      Returns:
      The generated escher record