IDocumentConverterPlugin
public interface IDocumentConverterPlugin
Defines an interface for external converter plugin.
Methods
Method | Description |
---|---|
convert(InputStream inputStream, LoadOptions loadOptions, OutputStream outputStream, SaveOptions saveOptions) | |
convertToImages(InputStream inputStream, LoadOptions loadOptions, SaveOptions saveOptions) | Converts pages from document from input stream to array of images. |
convert(InputStream inputStream, LoadOptions loadOptions, OutputStream outputStream, SaveOptions saveOptions)
public abstract void convert(InputStream inputStream, LoadOptions loadOptions, OutputStream outputStream, SaveOptions saveOptions)
Parameters:
Parameter | Type | Description |
---|---|---|
inputStream | java.io.InputStream | |
loadOptions | LoadOptions | |
outputStream | java.io.OutputStream | |
saveOptions | SaveOptions |
convertToImages(InputStream inputStream, LoadOptions loadOptions, SaveOptions saveOptions)
public abstract InputStream[] convertToImages(InputStream inputStream, LoadOptions loadOptions, SaveOptions saveOptions)
Converts pages from document from input stream to array of images.
Parameters:
Parameter | Type | Description |
---|---|---|
inputStream | java.io.InputStream | The input stream. |
loadOptions | LoadOptions | The document load options. |
saveOptions | SaveOptions | The save options. |
Returns: java.io.InputStream[] - Array of page images streams.