Class WrappedFile

java.lang.Object
com.saperion.connector.renditions.WrappedFile

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

    • WrappedFile

      public WrappedFile(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 Details

    • getFile

      public 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