com.partnersoft.io.formats.packrat
Class PackratFileBuilder
java.lang.Object
com.partnersoft.io.formats.packrat.PackratFileBuilder
- Direct Known Subclasses:
- IncrementalPackratFileBuilder
public class PackratFileBuilder
- extends java.lang.Object
Builds a packrat file. Duh.
- Author:
- Paul Reavis
Copyright 2002 Partner Software, Inc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PADDING
protected static final java.lang.String PADDING
- See Also:
- Constant Field Values
rootDatatype
protected PackratDatatype rootDatatype
file
protected java.io.File file
comment
protected java.lang.String comment
outie
protected transient java.io.FileOutputStream outie
wroteHeader
protected transient boolean wroteHeader
PackratFileBuilder
public PackratFileBuilder(java.io.File file,
PackratDatatype rootDatatype)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeader
public int writeHeader()
throws java.io.IOException
- Throws:
java.io.IOException
writeObject
public void writeObject(java.lang.Object victim)
throws java.io.IOException
- Throws:
java.io.IOException
getComment
public java.lang.String getComment()
setComment
public void setComment(java.lang.String newComment)