Class FileSystemRendition

  • All Implemented Interfaces:
    Rendition, java.lang.AutoCloseable

    public class FileSystemRendition
    extends BaseRendition
    • Constructor Detail

      • FileSystemRendition

        protected FileSystemRendition()
        Default constructor for instantiating the FileSystemRendition instance.
    • Method Detail

      • getFilename

        public java.lang.String getFilename()
        Returns:
        the filename
      • setFilename

        public void setFilename​(java.lang.String filename)
        Parameters:
        filename - the filename to set
      • getFile

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

        public void setFile​(WrappedFile file)
        Parameters:
        file - the file to set
      • getPage

        public int getPage()
        Returns the number of the page represented by this rendition.
        Returns:
        page number or -1 if the renditions contains multiple (or all) pages
        See Also:
        Rendition.getPage()
      • isComplete

        public boolean isComplete()
        Returns:
        true if this rendition represents a complete document.
        See Also:
        Rendition.isComplete()
      • close

        public void close()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception