public interface PageStreamFactory
Defines the methods that are required for instantiating and releasing output page stream.
Modifier and Type | Method and Description |
---|---|
void |
closePageStream(int pageNumber,
OutputStream pageStream)
Releases the stream created by
createPageStream(int) method. |
OutputStream |
createPageStream(int pageNumber)
Creates the stream used to write output page data.
|
void closePageStream(int pageNumber, OutputStream pageStream)
Releases the stream created by createPageStream(int)
method.
pageNumber
- The number of a page.pageStream
- OutputStream
created by createPageStream(int)
method.OutputStream createPageStream(int pageNumber)
Creates the stream used to write output page data.
pageNumber
- The number of a page.OutputStream
used to write output page data.