Class PDF2HtmlConverter
java.lang.Object
org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter
org.nuxeo.ecm.platform.convert.plugins.PDF2HtmlConverter
- All Implemented Interfaces:
Converter,ExternalConverter
Pdf2Html converter based on the pdftohtml command-line executable.
- Author:
- tiry, Vincent Dutat
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter
CommandLineBasedConverter.CmdReturn -
Field Summary
Fields inherited from class org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter
CMD_NAME_PARAMETER, initParameters, TMP_PATH_PARAMETER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BlobHolderbuildResult(List<String> cmdOutput, CmdParameters cmdParams) Builds result from commandLine output buffer.getCmdBlobParameters(BlobHolder blobHolder, Map<String, Serializable> parameters) Extracts BlobParameters.getCmdStringParameters(BlobHolder blobHolder, Map<String, Serializable> parameters) Extracts String parameters.Methods inherited from class org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter
convert, execOnBlob, getCommandName, getTmpDirectory, init, isConverterAvailable
-
Constructor Details
-
PDF2HtmlConverter
public PDF2HtmlConverter()
-
-
Method Details
-
buildResult
Description copied from class:CommandLineBasedConverterBuilds result from commandLine output buffer.- Specified by:
buildResultin classCommandLineBasedConverter
-
getCmdBlobParameters
protected Map<String,Blob> getCmdBlobParameters(BlobHolder blobHolder, Map<String, Serializable> parameters) throws ConversionExceptionDescription copied from class:CommandLineBasedConverterExtracts BlobParameters.- Specified by:
getCmdBlobParametersin classCommandLineBasedConverter- Throws:
ConversionException
-
getCmdStringParameters
protected Map<String,String> getCmdStringParameters(BlobHolder blobHolder, Map<String, Serializable> parameters) throws ConversionExceptionDescription copied from class:CommandLineBasedConverterExtracts String parameters.- Specified by:
getCmdStringParametersin classCommandLineBasedConverter- Throws:
ConversionException
-