public abstract class AbstractHtmlPreviewAdapter extends Object implements HtmlPreviewAdapter
Constructor and Description |
---|
AbstractHtmlPreviewAdapter() |
Modifier and Type | Method and Description |
---|---|
List<Blob> |
getFilePreviewBlobs() |
List<Blob> |
getFilePreviewBlobs(boolean postProcess) |
List<Blob> |
getFilePreviewBlobs(String xpath) |
List<Blob> |
getFilePreviewBlobs(String xpath,
boolean postProcess) |
String |
getFilePreviewURL() |
String |
getFilePreviewURL(String xpath) |
void |
setAdaptedDocument(DocumentModel doc) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cachable, cleanup
public void setAdaptedDocument(DocumentModel doc)
setAdaptedDocument
in interface HtmlPreviewAdapter
public String getFilePreviewURL()
getFilePreviewURL
in interface HtmlPreviewAdapter
public String getFilePreviewURL(String xpath)
getFilePreviewURL
in interface HtmlPreviewAdapter
public List<Blob> getFilePreviewBlobs() throws PreviewException
getFilePreviewBlobs
in interface HtmlPreviewAdapter
PreviewException
public List<Blob> getFilePreviewBlobs(String xpath) throws PreviewException
getFilePreviewBlobs
in interface HtmlPreviewAdapter
PreviewException
public List<Blob> getFilePreviewBlobs(boolean postProcess) throws PreviewException
getFilePreviewBlobs
in interface HtmlPreviewAdapter
PreviewException
public List<Blob> getFilePreviewBlobs(String xpath, boolean postProcess) throws PreviewException
getFilePreviewBlobs
in interface HtmlPreviewAdapter
PreviewException
Copyright © 2011 Nuxeo SA. All Rights Reserved.