public class PackratFileBuilder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
comment |
protected VfsFile |
file |
protected java.io.BufferedOutputStream |
outie |
protected static java.lang.String |
PADDING |
protected PackratDatatype |
rootDatatype |
protected boolean |
wroteHeader |
| Constructor and Description |
|---|
PackratFileBuilder(VfsFile file,
PackratDatatype rootDatatype) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComment() |
void |
setComment(java.lang.String newComment) |
int |
writeHeader() |
void |
writeObject(java.lang.Object victim) |
protected static final java.lang.String PADDING
protected PackratDatatype rootDatatype
protected VfsFile file
protected java.lang.String comment
protected transient java.io.BufferedOutputStream outie
protected transient boolean wroteHeader
public PackratFileBuilder(VfsFile file, PackratDatatype rootDatatype) throws java.io.IOException
java.io.IOExceptionpublic int writeHeader()
throws java.io.IOException
java.io.IOExceptionpublic void writeObject(java.lang.Object victim)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getComment()
public void setComment(java.lang.String newComment)