Interface HtmlPreviewAdapter
- All Known Implementing Classes:
AbstractHtmlPreviewAdapter
,ConverterBasedHtmlPreviewAdapter
,NoteHtmlPreviewAdapter
,PreprocessedHtmlPreviewAdapter
public interface HtmlPreviewAdapter
Interface for the Preview DocumentModel adapter.
- Author:
- tiry
-
Method Summary
Modifier and TypeMethodDescriptionboolean
cachable()
void
cleanup()
getFilePreviewBlobs
(boolean postProcess) getFilePreviewBlobs
(String xpath) getFilePreviewBlobs
(String xpath, boolean postProcess) getFilePreviewURL
(String xpath) boolean
Check if the document holds some blobs that are suitable for previewboolean
hasPreview
(String xpath) void
-
Method Details
-
cachable
boolean cachable() -
getFilePreviewURL
String getFilePreviewURL() -
getFilePreviewURL
-
getFilePreviewBlobs
- Throws:
PreviewException
-
getFilePreviewBlobs
- Throws:
PreviewException
-
getFilePreviewBlobs
- Throws:
PreviewException
-
getFilePreviewBlobs
- Throws:
PreviewException
-
setAdaptedDocument
-
cleanup
void cleanup() -
hasBlobToPreview
Check if the document holds some blobs that are suitable for preview- Throws:
PreviewException
- Since:
- 5.7.3
-
hasPreview
- Since:
- 8.2
-