Package org.apache.poi.hpbf.model
Class HPBFPart
java.lang.Object
org.apache.poi.hpbf.model.HPBFPart
- Direct Known Subclasses:
EscherPart
,MainContents
,QuillContents
Parent class of all HPBF sub-parts, handling
the fiddly reading in / writing out bits
for all of them.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
Called just before writing out, to trigger the data byte array to be updated with the latest contents.final byte[]
getData()
Returns the raw data that makes up this document part.final String[]
getPath()
Returnsprotected final void
setData
(byte[] data) void
writeOut
(DirectoryNode baseDir)
-
Constructor Details
-
HPBFPart
- Parameters:
path
- the path to the part, eg Contents or Quill, QuillSub, CONTENTS- Throws:
IOException
-
-
Method Details
-
writeOut
- 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
Returns
-