public class PreprocessedHtmlPreviewAdapter extends AbstractHtmlPreviewAdapter
Modifier and Type | Field and Description |
---|---|
protected List<String> |
storedPreviewFieldsPaths |
adaptedDoc, previewManager
Constructor and Description |
---|
PreprocessedHtmlPreviewAdapter(List<String> fieldsPaths) |
Modifier and Type | Method and Description |
---|---|
boolean |
cachable() |
void |
cleanup() |
List<Blob> |
getPreviewBlobs() |
List<Blob> |
getPreviewBlobs(String xpath) |
boolean |
hasBlobToPreview()
Check if the document holds some blobs that are suitable for preview
|
boolean |
hasPreview(String xpath) |
getFilePreviewBlobs, getFilePreviewBlobs, getFilePreviewBlobs, getFilePreviewBlobs, getFilePreviewURL, getFilePreviewURL, getPreviewManager, getPreviewTitle, postProcessBlobs, setAdaptedDocument, updateTitleInHtml, updateTitleInHtml
protected List<String> storedPreviewFieldsPaths
public PreprocessedHtmlPreviewAdapter(List<String> fieldsPaths)
public List<Blob> getPreviewBlobs() throws PreviewException
getPreviewBlobs
in class AbstractHtmlPreviewAdapter
PreviewException
public List<Blob> getPreviewBlobs(String xpath) throws PreviewException
getPreviewBlobs
in class AbstractHtmlPreviewAdapter
PreviewException
public void cleanup()
public boolean cachable()
public boolean hasBlobToPreview() throws PreviewException
HtmlPreviewAdapter
PreviewException
public boolean hasPreview(String xpath)
Copyright © 2016 Nuxeo SA. All rights reserved.