public class Collada2glTFConverter extends CommandLineBasedConverter
CommandLineBasedConverter.CmdReturn
CMD_NAME_PARAMETER, initParameters, TMP_PATH_PARAMETER
Constructor and Description |
---|
Collada2glTFConverter() |
Modifier and Type | Method and Description |
---|---|
protected BlobHolder |
buildResult(List<String> cmdOutput,
CmdParameters cmdParameters)
Builds result from commandLine output buffer.
|
BlobHolder |
convert(BlobHolder blobHolder,
Map<String,Serializable> parameters)
Main method to handle the real Conversion Job.
|
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.
|
execOnBlob, getCommandLineService, getCommandName, getTmpDirectory, init, isConverterAvailable
public Collada2glTFConverter()
protected Map<String,Blob> getCmdBlobParameters(BlobHolder blobHolder, Map<String,Serializable> parameters) throws ConversionException
CommandLineBasedConverter
getCmdBlobParameters
in class CommandLineBasedConverter
ConversionException
protected Map<String,String> getCmdStringParameters(BlobHolder blobHolder, Map<String,Serializable> parameters) throws ConversionException
CommandLineBasedConverter
getCmdStringParameters
in class CommandLineBasedConverter
ConversionException
public BlobHolder convert(BlobHolder blobHolder, Map<String,Serializable> parameters) throws ConversionException
Converter
Returned BlobHolder
must implement CachableBlobHolder
, otherwise result won't be cached.
convert
in interface Converter
convert
in class CommandLineBasedConverter
ConversionException
protected BlobHolder buildResult(List<String> cmdOutput, CmdParameters cmdParameters) throws ConversionException
CommandLineBasedConverter
buildResult
in class CommandLineBasedConverter
ConversionException
Copyright © 2018 Nuxeo. All rights reserved.