IDocumentConverterPlugin

public interface IDocumentConverterPlugin

Defines an interface for external converter plugin.

Methods

MethodDescription
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:

ParameterTypeDescription
inputStreamjava.io.InputStream
loadOptionsLoadOptions
outputStreamjava.io.OutputStream
saveOptionsSaveOptions

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:

ParameterTypeDescription
inputStreamjava.io.InputStreamThe input stream.
loadOptionsLoadOptionsThe document load options.
saveOptionsSaveOptionsThe save options.

Returns: java.io.InputStream[] - Array of page images streams.