Class BatchConverter
- java.lang.Object
-
- org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter
-
- org.nuxeo.ecm.platform.threed.convert.BaseBlenderConverter
-
- org.nuxeo.ecm.platform.threed.convert.BatchConverter
-
- All Implemented Interfaces:
Converter
,ExternalConverter
public class BatchConverter extends BaseBlenderConverter
Batch conversion for 3D document types Generate thumbnail render, Collada version and LOD versions- Since:
- 8.4
-
-
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.threed.convert.BaseBlenderConverter
MIMETYPE_ZIP
-
Fields inherited from class org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter
CMD_NAME_PARAMETER, initParameters, TMP_PATH_PARAMETER
-
-
Constructor Summary
Constructors Constructor Description BatchConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Blob>
getCmdBlobParameters(BlobHolder blobHolder, Map<String,Serializable> parameters)
Extracts BlobParameters.protected Map<String,String>
getCmdStringParameters(BlobHolder blobHolder, Map<String,Serializable> parameters)
Extracts String parameters.-
Methods inherited from class org.nuxeo.ecm.platform.threed.convert.BaseBlenderConverter
blobsToTempDir, buildResult, convert, getConversionLOD, getInfos, getRenders, getScriptWith, isThreeDFile, sortFilesToPaths, tempDirectory
-
Methods inherited from class org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter
execOnBlob, getCommandLineService, getCommandName, getTmpDirectory, init, isConverterAvailable
-
-
-
-
Constructor Detail
-
BatchConverter
public BatchConverter()
-
-
Method Detail
-
getCmdBlobParameters
protected Map<String,Blob> getCmdBlobParameters(BlobHolder blobHolder, Map<String,Serializable> parameters) throws ConversionException
Description copied from class:CommandLineBasedConverter
Extracts BlobParameters.- Specified by:
getCmdBlobParameters
in classCommandLineBasedConverter
- Throws:
ConversionException
-
getCmdStringParameters
protected Map<String,String> getCmdStringParameters(BlobHolder blobHolder, Map<String,Serializable> parameters) throws ConversionException
Description copied from class:CommandLineBasedConverter
Extracts String parameters.- Specified by:
getCmdStringParameters
in classCommandLineBasedConverter
- Throws:
ConversionException
-
-