public interface FileStreamFactory
The FileStreamFactory interface declares methods that are used to create and release an output file stream. Implementations of this interface should provide the necessary functionality to create a file stream for writing output file data, as well as release any resources associated with the file stream.
Example usage:
{@code
FileStreamFactory fileStreamFactory = new FileStreamFactory() {PdfViewOptions| Modifier and Type | Method and Description |
|---|---|
void |
closeFileStream(OutputStream fileStream)
Releases the stream created by the
createFileStream() method. |
OutputStream |
createFileStream()
The method that returns a readable stream.
|
void closeFileStream(OutputStream fileStream)
Releases the stream created by the createFileStream() method.
fileStream - The OutputStream created by the createFileStream() method.OutputStream createFileStream()
The method that returns a readable stream.
OutputStream used to write output file data.Copyright © 2025. All rights reserved.