Class Zip2HtmlConverter
java.lang.Object
org.nuxeo.ecm.platform.convert.plugins.Zip2HtmlConverter
- All Implemented Interfaces:
Converter
Zip2Html converter.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(BlobHolder blobHolder, Map<String, Serializable> parameters) Main method to handle the real Conversion Job.protected Blob
createIndexBlob
(String title, List<String> names) void
init
(ConverterDescriptor descriptor) Initializes the Converter.listNamesAndCreateIndex
(Blob zipBlob, List<String> names) protected void
orderIndexFirst
(List<String> names)
-
Field Details
-
INDEX_HTML
- See Also:
-
-
Constructor Details
-
Zip2HtmlConverter
public Zip2HtmlConverter()
-
-
Method Details
-
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
-
listNamesAndCreateIndex
-
orderIndexFirst
-
createIndexBlob
-
init
Description copied from interface:Converter
Initializes the Converter.This can be used to retrieve some configuration information from the XMap Descriptor.
-