Class UTF8CharsetConverter
java.lang.Object
org.nuxeo.ecm.platform.convert.plugins.UTF8CharsetConverter
- All Implemented Interfaces:
Converter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Blobconvert(BlobHolder blobHolder, Map<String, Serializable> parameters) Main method to handle the real Conversion Job.protected StringDeprecated.since 11.1.protected StringdetectEncoding(Blob blob) voidinit(ConverterDescriptor descriptor) Initializes the Converter.
-
Constructor Details
-
UTF8CharsetConverter
public UTF8CharsetConverter()
-
-
Method Details
-
init
Description copied from interface:ConverterInitializes 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:ConverterMain method to handle the real Conversion Job.Returned
BlobHoldermust implementCachableBlobHolder, otherwise result won't be cached.- Specified by:
convertin interfaceConverter- Throws:
ConversionException
-
convert
- Throws:
IOExceptionConversionException
-
detectEncoding
Deprecated.since 11.1. UsedetectEncoding(Blob)instead.- Throws:
IOExceptionConversionException
-
detectEncoding
- Throws:
IOExceptionConversionException
-