EscherPart
, MainContents
, QuillContents
public abstract class HPBFPart
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected byte[] |
data |
Constructor | Description |
---|---|
HPBFPart(DirectoryNode baseDir,
java.lang.String[] path) |
Modifier and Type | Method | 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
|
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 byte[] getData()
public final java.lang.String[] getPath()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.