public abstract class HPBFPart extends Object
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
data |
| Constructor and Description |
|---|
HPBFPart(DirectoryNode baseDir,
String[] path) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String[] |
getPath()
Returns
|
void |
writeOut(DirectoryNode baseDir) |
public HPBFPart(DirectoryNode baseDir, String[] path) throws IOException
path - the path to the part, eg Contents or Quill, QuillSub, CONTENTSIOExceptionpublic void writeOut(DirectoryNode baseDir) throws IOException
IOExceptionprotected abstract void generateData()
public byte[] getData()
public final String[] getPath()
Copyright © 2020. All rights reserved.