| proguard.io.DataEntryWriter
All known Subclasses: proguard.io.CascadingDataEntryWriter, proguard.io.DirectoryWriter, proguard.io.ParentDataEntryWriter, proguard.io.JarWriter, proguard.io.FilteredDataEntryWriter,
DataEntryWriter | public interface DataEntryWriter (Code) | | This interface provides methods for writing data entries, such as ZIP entries
or files. The implementation determines to which type of data entry the
data will be written.
author: Eric Lafortune |
getOutputStream | public OutputStream getOutputStream(DataEntry dataEntry) throws IOException(Code) | | Returns an output stream for writing data. The caller must not close
the output stream; closing the output stream is the responsibility of
the implementation of this interface.
Parameters: dataEntry - the data entry for which the output stream is to be created. the output stream. The stream may be null to indicatethat the data entry should not be written. |
getOutputStream | public OutputStream getOutputStream(DataEntry dataEntry, Finisher finisher) throws IOException(Code) | | Returns an output stream for writing data. The caller must not close
the output stream; closing the output stream is the responsibility of
the implementation of this interface.
Parameters: dataEntry - the data entry for which the output stream is to be created. Parameters: finisher - the optional finisher that will be called before thisclass closes the output stream (at some later point intime) that will be returned (now). the output stream. The stream may be null to indicatethat the data entry should not be written. |
|
|