Class WrappedFile


  • public class WrappedFile
    extends java.lang.Object
    A wrapper around a file that will be used to create a rendition. Contains information about the represented page(s).
    • Constructor Summary

      Constructors 
      Constructor Description
      WrappedFile​(java.io.File file, int page, boolean complete)
      Instantiates a new wrapped file.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.File getFile()
      Gets the file.
      int getPage()
      Gets the page.
      boolean isComplete()
      Checks if is complete.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WrappedFile

        public WrappedFile​(java.io.File file,
                           int page,
                           boolean complete)
        Instantiates a new wrapped file.
        Parameters:
        file - the file
        page - the page number
        complete - true if the file contains a complete document
    • Method Detail

      • getFile

        public java.io.File getFile()
        Gets the file.
        Returns:
        the file
      • getPage

        public int getPage()
        Gets the page.
        Returns:
        the page
      • isComplete

        public boolean isComplete()
        Checks if is complete.
        Returns:
        true, if is complete