Class AbstractView

    • Constructor Detail

      • AbstractView

        protected AbstractView​(String documentId,
                               String language,
                               String originalFileName,
                               File physicalFile,
                               int nbPages)
        Default constructor
    • Method Detail

      • getNbPages

        public int getNbPages()
        Description copied from interface: DocumentView
        Gets total of pages
        Specified by:
        getNbPages in interface DocumentView
        Returns:
        the nbPages
      • isDocumentSplit

        public boolean isDocumentSplit()
        Description copied from interface: DocumentView
        Indicates if the document view is split into several pieces.
        Specified by:
        isDocumentSplit in interface DocumentView
        Returns:
        true if the document view is split, false otherwise.
      • markDocumentSplit

        public void markDocumentSplit​(boolean documentSplit)
      • areSearchDataComputed

        public boolean areSearchDataComputed()
        Description copied from interface: DocumentView
        Indicates if search data have been computed.
        Specified by:
        areSearchDataComputed in interface DocumentView
        Returns:
        true if search data have been computed, false otherwise.
      • markSearchDataComputed

        public void markSearchDataComputed​(boolean searchDataComputed)