Package org.ametys.plugins.flipbook
Interface Document2ImagesConvertorPolicy
- All Known Implementing Classes:
CommandLineConvertor
,PdfboxConvertor
public interface Document2ImagesConvertorPolicy
Converts a document file to PNG images, one image per page.
The document images file name must begin with "page".
-
Method Summary
-
Method Details
-
getSupportedMimeTypes
Get the list of mime types the convertor can convert- Returns:
- The list of supported mime-types
-
convert
Convert the given document file to PNG images, one image per page.- Parameters:
documentFile
- the document file to convert.folder
- the destination folder.- Throws:
IOException
- if an I/O error occurs.FlipbookException
- if a document error occurs.
-