|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hpbf.model.HPBFPart
public abstract class HPBFPart
Parent class of all HPBF sub-parts, handling the fiddly reading in / writing out bits for all of them.
Constructor Summary | |
---|---|
HPBFPart(DirectoryNode baseDir,
java.lang.String[] path)
|
Method Summary | |
---|---|
protected abstract void |
generateData()
Called just before writing out, to trigger the data byte array to be updated with the latest contents. |
byte[] |
getData()
Returns the raw data that makes up this document part. |
java.lang.String[] |
getPath()
Returns |
protected void |
setData(byte[] data)
|
void |
writeOut(DirectoryNode baseDir)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HPBFPart(DirectoryNode baseDir, java.lang.String[] path) throws java.io.IOException
path
- the path to the part, eg Contents or Quill, QuillSub, CONTENTS
java.io.IOException
Method Detail |
---|
public void writeOut(DirectoryNode baseDir) throws java.io.IOException
java.io.IOException
protected abstract void generateData()
public final byte[] getData()
protected final void setData(byte[] data)
public final java.lang.String[] getPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |