SplitStreamFactory
public interface SplitStreamFactory
Interface that defines method to create output split stream.
Methods
Method | Description |
---|---|
createSplitStream(int pageNumber) | Method to create output page preview stream. |
closeSplitStream(int pageNumber, OutputStream pageStream) | Method to release output page preview stream |
createSplitStream(int pageNumber)
public abstract OutputStream createSplitStream(int pageNumber)
Method to create output page preview stream.
Parameters:
Parameter | Type | Description |
---|---|---|
pageNumber | int |
Returns: java.io.OutputStream
closeSplitStream(int pageNumber, OutputStream pageStream)
public abstract void closeSplitStream(int pageNumber, OutputStream pageStream)
Method to release output page preview stream
Parameters:
Parameter | Type | Description |
---|---|---|
pageNumber | int | |
pageStream | java.io.OutputStream |