Class UTF8CharsetConverter
java.lang.Object
org.nuxeo.ecm.platform.convert.plugins.UTF8CharsetConverter
- All Implemented Interfaces:
Converter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Blob
convert
(BlobHolder blobHolder, Map<String, Serializable> parameters) Main method to handle the real Conversion Job.protected String
Deprecated.since 11.1.protected String
detectEncoding
(Blob blob) void
init
(ConverterDescriptor descriptor) Initializes the Converter.
-
Constructor Details
-
UTF8CharsetConverter
public UTF8CharsetConverter()
-
-
Method Details
-
init
Description copied from interface:Converter
Initializes the Converter.This can be used to retrieve some configuration information from the XMap Descriptor.
-
convert
public BlobHolder convert(BlobHolder blobHolder, Map<String, Serializable> parameters) throws ConversionExceptionDescription 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
-
convert
- Throws:
IOException
ConversionException
-
detectEncoding
Deprecated.since 11.1. UsedetectEncoding(Blob)
instead.- Throws:
IOException
ConversionException
-
detectEncoding
- Throws:
IOException
ConversionException
-