Class Zip2HtmlConverter
- java.lang.Object
-
- org.nuxeo.ecm.platform.convert.plugins.Zip2HtmlConverter
-
- All Implemented Interfaces:
Converter
public class Zip2HtmlConverter extends Object implements Converter
Zip2Html converter.
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringINDEX_HTML
-
Constructor Summary
Constructors Constructor Description Zip2HtmlConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobHolderconvert(BlobHolder blobHolder, Map<String,Serializable> parameters)Main method to handle the real Conversion Job.protected BlobcreateIndexBlob(String title, List<String> names)voidinit(ConverterDescriptor descriptor)Initializes the Converter.protected Optional<Blob>listNamesAndCreateIndex(Blob zipBlob, List<String> names)protected voidorderIndexFirst(List<String> names)
-
-
-
Field Detail
-
INDEX_HTML
protected static final String INDEX_HTML
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Zip2HtmlConverter
public Zip2HtmlConverter()
-
-
Method Detail
-
convert
public BlobHolder convert(BlobHolder blobHolder, Map<String,Serializable> parameters) throws ConversionException
Description 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
-
listNamesAndCreateIndex
protected Optional<Blob> listNamesAndCreateIndex(Blob zipBlob, List<String> names)
-
orderIndexFirst
protected void orderIndexFirst(List<String> names)
-
createIndexBlob
protected Blob createIndexBlob(String title, List<String> names)
-
init
public void init(ConverterDescriptor descriptor)
Description copied from interface:ConverterInitializes the Converter.This can be used to retrieve some configuration information from the XMap Descriptor.
-
-