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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConverterBasedHtmlPreviewAdapter
public ConverterBasedHtmlPreviewAdapter()
getConversionService
public static ConversionService getConversionService()
throws java.lang.Exception
- Throws:
java.lang.Exception
setDefaultPreviewFieldXPath
public void setDefaultPreviewFieldXPath(java.lang.String xPath)
getPreviewBlobs
public java.util.List<Blob> getPreviewBlobs()
throws PreviewException
- Throws:
PreviewException
getPreviewBlobs
public java.util.List<Blob> getPreviewBlobs(java.lang.String xpath)
throws PreviewException
- Throws:
PreviewException
getMimeType
public java.lang.String getMimeType(java.io.File file)
throws ConversionException
- Throws:
ConversionException
getMimeTypeService
public MimetypeRegistry getMimeTypeService()
throws ConversionException
- Throws:
ConversionException
cleanup
public void cleanup()
cachable
public boolean cachable()
Copyright © 2010 Nuxeo SAS. All Rights Reserved.