public interface FileStreamFactory
Defines methods which are required for instantiating and releasing output file stream.
Modifier and Type | Method and Description |
---|---|
void |
closeFileStream(OutputStream fileStream)
Releases the stream created by
createFileStream() method. |
OutputStream |
createFileStream()
The method that returns readable stream.
|
void closeFileStream(OutputStream fileStream)
Releases the stream created by createFileStream()
method.
fileStream
- OutputStream
created by createFileStream()
method.OutputStream createFileStream()
The method that returns readable stream.
OutputStream
used to write output file data.