Class HPBFPart

java.lang.Object
org.apache.poi.hpbf.model.HPBFPart
Direct Known Subclasses:
EscherPart, MainContents, QuillContents

public abstract class HPBFPart extends Object
Parent class of all HPBF sub-parts, handling the fiddly reading in / writing out bits for all of them.
  • Constructor Details

  • Method Details

    • writeOut

      public void writeOut(DirectoryNode baseDir) throws IOException
      Throws:
      IOException
    • generateData

      protected abstract void generateData()
      Called just before writing out, to trigger the data byte array to be updated with the latest contents.
    • getData

      public final byte[] getData()
      Returns the raw data that makes up this document part.
    • setData

      protected final void setData(byte[] data)
    • getPath

      public final String[] getPath()
      Returns