org.silverpeas.viewer
Class DefaultPreviewService
java.lang.Object
org.silverpeas.viewer.AbstractViewerService
org.silverpeas.viewer.DefaultPreviewService
- All Implemented Interfaces:
- PreviewService
@Service
public class DefaultPreviewService
- extends AbstractViewerService
- implements PreviewService
- Author:
- Yohann Chastagnier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPreviewService
public DefaultPreviewService()
isPreviewable
public boolean isPreviewable(File file)
- Description copied from interface:
PreviewService
- Verifying if it is possible to obtain an preview of the given file.
- Specified by:
isPreviewable
in interface PreviewService
- Returns:
getPreview
public Preview getPreview(ViewerContext viewerContext)
- Description copied from interface:
PreviewService
- Getting an Preview instance of the given file
- Specified by:
getPreview
in interface PreviewService
- Returns:
Copyright © 2016 Silverpeas. All Rights Reserved.