org.silverpeas.viewer
Interface ViewService

All Known Implementing Classes:
DefaultViewService

public interface ViewService

Author:
Yohann Chastagnier

Method Summary
 DocumentView getDocumentView(ViewerContext viewerContext)
          Getting pages view instances of the given file
 boolean isViewable(File file)
          Verifying if it is possible to obtain a view of the given file.
 

Method Detail

isViewable

boolean isViewable(File file)
Verifying if it is possible to obtain a view of the given file.

Parameters:
file -
Returns:

getDocumentView

DocumentView getDocumentView(ViewerContext viewerContext)
Getting pages view instances of the given file

Parameters:
viewerContext -
Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.