Class DefaultViewService

    • Constructor Detail

      • DefaultViewService

        public DefaultViewService()
    • Method Detail

      • 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
        Parameters:
        file - the file to verify.
        Returns:
        true if view is possible, false otherwise.
      • removeDocumentView

        public void removeDocumentView​(ViewerContext viewerContext)
        Description copied from interface: ViewService
        Removes data about a document view from given context.
        Specified by:
        removeDocumentView in interface ViewService
        Parameters:
        viewerContext - the context of the document view.