Interface PreviewService
-
- All Known Implementing Classes:
DefaultPreviewService
public interface PreviewService
- Author:
- Yohann Chastagnier
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static PreviewService
get()
Preview
getPreview(ViewerContext viewerContext)
Getting an Preview instance of the given fileboolean
isPreviewable(File file)
Verifying if it is possible to obtain an preview of the given file.
-
-
-
Method Detail
-
get
static PreviewService get()
-
isPreviewable
boolean isPreviewable(File file)
Verifying if it is possible to obtain an preview of the given file.- Parameters:
file
-- Returns:
-
getPreview
Preview getPreview(ViewerContext viewerContext)
Getting an Preview instance of the given file- Parameters:
viewerContext
-- Returns:
-
-