Interface PreviewService

  • All Known Implementing Classes:
    DefaultPreviewService

    public interface PreviewService
    Author:
    Yohann Chastagnier
    • Method Detail

      • 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: