org.nuxeo.ecm.platform.preview.adapter.base
Class ConverterBasedHtmlPreviewAdapter
java.lang.Object
org.nuxeo.ecm.platform.preview.adapter.base.AbstractHtmlPreviewAdapter
org.nuxeo.ecm.platform.preview.adapter.base.ConverterBasedHtmlPreviewAdapter
- All Implemented Interfaces:
- HtmlPreviewAdapter
public class ConverterBasedHtmlPreviewAdapter
- extends AbstractHtmlPreviewAdapter
Base class for preview based on "on the fly" HTML transformers
- Author:
- tiry
ConverterBasedHtmlPreviewAdapter
public ConverterBasedHtmlPreviewAdapter()
getConversionService
public static ConversionService getConversionService()
throws Exception
- Throws:
Exception
setDefaultPreviewFieldXPath
public void setDefaultPreviewFieldXPath(String xPath)
getPreviewBlobs
public List<Blob> getPreviewBlobs()
throws PreviewException
- Throws:
PreviewException
getPreviewBlobs
public List<Blob> getPreviewBlobs(String xpath)
throws PreviewException
- Throws:
PreviewException
getMimeType
public String getMimeType(File file)
throws ConversionException
- Throws:
ConversionException
getMimeTypeService
public MimetypeRegistry getMimeTypeService()
throws ConversionException
- Throws:
ConversionException
cleanup
public void cleanup()
cachable
public boolean cachable()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.