Class DefaultEscherRecordFactory

    • Constructor Detail

      • DefaultEscherRecordFactory

        public DefaultEscherRecordFactory()
        Creates an instance of the escher record factory
    • Method Detail

      • 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
        Parameters:
        data - The byte array containing the records
        offset - The starting offset into the byte array
        Returns:
        The generated escher record
      • getConstructor

        protected Supplier<? extends EscherRecord> getConstructor​(short options,
                                                                  short recordId)