public abstract class HPBFPart
extends java.lang.Object
Constructor and Description |
---|
HPBFPart(DirectoryNode baseDir,
java.lang.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.
|
java.lang.String[] |
getPath()
Returns
|
protected void |
setData(byte[] data) |
void |
writeOut(DirectoryNode baseDir) |
public HPBFPart(DirectoryNode baseDir, java.lang.String[] path) throws java.io.IOException
path
- the path to the part, eg Contents or Quill, QuillSub, CONTENTSjava.io.IOException
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()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.