|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter
public abstract class CommandLineBasedConverter
Base class to implement Converter based on CommandLineExecutorService.
| Constructor Summary | |
|---|---|
CommandLineBasedConverter()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandLineBasedConverter()
| Method Detail |
|---|
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.
init in interface Converterpublic ConverterCheckResult isConverterAvailable()
ExternalConverter
isConverterAvailable in interface ExternalConverter
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||