public class ConverterBasedHtmlPreviewAdapter extends AbstractHtmlPreviewAdapter
Constructor and Description |
---|
ConverterBasedHtmlPreviewAdapter() |
Modifier and Type | Method and Description |
---|---|
boolean |
cachable() |
void |
cleanup() |
static ConversionService |
getConversionService() |
String |
getMimeType(File file) |
MimetypeRegistry |
getMimeTypeService() |
List<Blob> |
getPreviewBlobs() |
List<Blob> |
getPreviewBlobs(String xpath) |
void |
setDefaultPreviewFieldXPath(String xPath) |
getFilePreviewBlobs, getFilePreviewBlobs, getFilePreviewBlobs, getFilePreviewBlobs, getFilePreviewURL, getFilePreviewURL, setAdaptedDocument
public static ConversionService getConversionService() throws Exception
Exception
public void setDefaultPreviewFieldXPath(String xPath)
public List<Blob> getPreviewBlobs() throws PreviewException
PreviewException
public List<Blob> getPreviewBlobs(String xpath) throws PreviewException
PreviewException
public String getMimeType(File file) throws ConversionException
ConversionException
public MimetypeRegistry getMimeTypeService() throws ConversionException
ConversionException
public void cleanup()
public boolean cachable()
Copyright © 2011 Nuxeo SA. All Rights Reserved.