Package com.logicaldoc.core.conversion
Class ImageConverter
- java.lang.Object
-
- com.logicaldoc.core.conversion.AbstractFormatConverter
-
- com.logicaldoc.core.conversion.ImageConverter
-
- All Implemented Interfaces:
FormatConverter
public class ImageConverter extends AbstractFormatConverter
Converter to convert image files in PDF- Since:
- 7.7
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description ImageConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getParameterNames()
Implementations should return the list of the required parameters.void
internalConvert(String sid, Document document, File src, File dest)
-
Methods inherited from class com.logicaldoc.core.conversion.AbstractFormatConverter
convert, convert, getExtension, getParameter, getParameters, hashCode, isEnabled, loadParameters, setEnabled
-
-
-
-
Method Detail
-
internalConvert
public void internalConvert(String sid, Document document, File src, File dest) throws IOException
- Throws:
IOException
-
getParameterNames
public List<String> getParameterNames()
Description copied from interface:FormatConverter
Implementations should return the list of the required parameters. A parameter is stored in the context as converter.SimpleClassName.parameter = value- Specified by:
getParameterNames
in interfaceFormatConverter
- Overrides:
getParameterNames
in classAbstractFormatConverter
- Returns:
- list of the configuration parameters
-
-