org.apache.poi.hpbf.model
Class HPBFPart
java.lang.Object
org.apache.poi.hpbf.model.HPBFPart
- Direct Known Subclasses:
- EscherPart, MainContents, QuillContents
public abstract class HPBFPart
- extends java.lang.Object
Parent class of all HPBF sub-parts, handling
the fiddly reading in / writing out bits
for all of them.
Constructor Summary |
HPBFPart(org.apache.poi.poifs.filesystem.DirectoryNode baseDir,
java.lang.String[] path)
|
Method Summary |
byte[] |
getData()
Returns the raw data that makes up
this document part. |
java.lang.String[] |
getPath()
Returns |
void |
writeOut(org.apache.poi.poifs.filesystem.DirectoryNode baseDir)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HPBFPart
public HPBFPart(org.apache.poi.poifs.filesystem.DirectoryNode baseDir,
java.lang.String[] path)
throws java.io.IOException
- Parameters:
path
- the path to the part, eg Contents or Quill, QuillSub, CONTENTS
- Throws:
java.io.IOException
writeOut
public void writeOut(org.apache.poi.poifs.filesystem.DirectoryNode baseDir)
throws java.io.IOException
- Throws:
java.io.IOException
getData
public byte[] getData()
- Returns the raw data that makes up
this document part.
getPath
public final java.lang.String[] getPath()
- Returns