public interface Converter
There is only one instance of each contributed converter class: that means that the implementation must be thread-safe.
Modifier and Type | Method and Description |
---|---|
BlobHolder |
convert(BlobHolder blobHolder,
Map<String,Serializable> parameters)
Main method to handle the real Conversion Job.
|
void |
init(ConverterDescriptor descriptor)
Initializes the Converter.
|
void init(ConverterDescriptor descriptor)
This can be used to retrieve some configuration information from the XMap Descriptor.
BlobHolder convert(BlobHolder blobHolder, Map<String,Serializable> parameters) throws ConversionException
Returned BlobHolder
must implement CachableBlobHolder
, otherwise result won't be cached.
ConversionException
Copyright © 2017 Nuxeo. All rights reserved.