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, updateTitleInHtmlprotected List<String> storedPreviewFieldsPaths
public PreprocessedHtmlPreviewAdapter(List<String> fieldsPaths)
public List<Blob> getPreviewBlobs() throws PreviewException
getPreviewBlobs in class AbstractHtmlPreviewAdapterPreviewExceptionpublic List<Blob> getPreviewBlobs(String xpath) throws PreviewException
getPreviewBlobs in class AbstractHtmlPreviewAdapterPreviewExceptionpublic void cleanup()
public boolean cachable()
public boolean hasBlobToPreview() throws PreviewException
HtmlPreviewAdapterPreviewExceptionpublic boolean hasPreview(String xpath)
Copyright © 2016 Nuxeo SA. All rights reserved.