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