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 TypeMethodDescriptionbooleancachable()voidcleanup()getFilePreviewBlobs(boolean postProcess) getFilePreviewBlobs(String xpath) getFilePreviewBlobs(String xpath, boolean postProcess) getFilePreviewURL(String xpath) booleanCheck if the document holds some blobs that are suitable for previewbooleanhasPreview(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
-