public abstract class CommandLineBasedConverter extends Object implements ExternalConverter
Converter based on
CommandLineExecutorService.| Constructor and Description |
|---|
CommandLineBasedConverter() |
| Modifier and Type | Method and Description |
|---|---|
BlobHolder |
convert(BlobHolder blobHolder,
Map<String,Serializable> parameters)
Main method to handle the real Conversion Job.
|
String |
getTmpDirectory(Map<String,Serializable> parameters) |
void |
init(ConverterDescriptor descriptor)
Initializes the Converter.
|
ConverterCheckResult |
isConverterAvailable()
Checks if the converter is available.
|
public String getTmpDirectory(Map<String,Serializable> parameters)
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 ConverterConversionExceptionpublic void init(ConverterDescriptor descriptor)
ConverterThis can be used to retrieve some configuration information from the XMap Descriptor.
public ConverterCheckResult isConverterAvailable()
ExternalConverterisConverterAvailable in interface ExternalConverterCopyright © 2013 Nuxeo SA. All Rights Reserved.