PageStreamFactory

public interface PageStreamFactory

Methods

Method Description
createPageStream(int pageNumber) Method to create output page preview stream.
closePageStream(int pageNumber, OutputStream pageStream) Method to release output page preview stream

createPageStream(int pageNumber)

public abstract OutputStream createPageStream(int pageNumber)

Method to create output page preview stream.

Parameters:

Parameter Type Description
pageNumber int

Returns: java.io.OutputStream

closePageStream(int pageNumber, OutputStream pageStream)

public abstract void closePageStream(int pageNumber, OutputStream pageStream)

Method to release output page preview stream

Parameters:

Parameter Type Description
pageNumber int
pageStream java.io.OutputStream