the target output file for data, or null if this package
has an output stream as its target.
public boolean isAppendToFile()
public void setAppendToFile(boolean appendToFile)
Data will be appended to the target file instead of overwriting it.
This option is relevant only for packages with a target file, not
those with a target output stream.
public java.io.OutputStream getOutputStream()
Creates an output stream to receive the object's data. The output stream is either
the output stream provided to this package in its constructor, or an
automatically-created FileOutputStream if a File object was provided as the target
output object. The output stream will also be wrapped in a GZipInflatingOutputStream if
isUnzipping is true and/or a decrypting output stream if this package has an associated
an output stream that writes data to the output target managed by this class.