org.silverpeas.viewer
Interface PreviewService

All Known Implementing Classes:
DefaultPreviewService

public interface PreviewService

Author:
Yohann Chastagnier

Method Summary
 Preview getPreview(ViewerContext viewerContext)
          Getting an Preview instance of the given file
 boolean isPreviewable(File file)
          Verifying if it is possible to obtain an preview of the given file.
 

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:


Copyright © 2016 Silverpeas. All Rights Reserved.