Class PartialTextExtractor
- java.lang.Object
-
- org.nuxeo.ecm.platform.importer.random.PartialTextExtractor
-
-
Field Summary
Fields Modifier and Type Field Description static double
TEXT_RATIO
-
Constructor Summary
Constructors Constructor Description PartialTextExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobHolder
convert(BlobHolder blobHolder, Map<String,Serializable> parameters)
Main method to handle the real Conversion Job.void
init(ConverterDescriptor descriptor)
Initializes the Converter.
-
-
-
Field Detail
-
TEXT_RATIO
public static final double TEXT_RATIO
- See Also:
- Constant Field Values
-
-
Method Detail
-
convert
public BlobHolder convert(BlobHolder blobHolder, Map<String,Serializable> parameters) throws ConversionException
Description copied from interface:Converter
Main method to handle the real Conversion Job.Returned
BlobHolder
must implementCachableBlobHolder
, otherwise result won't be cached.- Specified by:
convert
in interfaceConverter
- Throws:
ConversionException
-
init
public void init(ConverterDescriptor descriptor)
Description copied from interface:Converter
Initializes the Converter.This can be used to retrieve some configuration information from the XMap Descriptor.
-
-