Class PageExtractionResult

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class PageExtractionResult
    extends java.lang.Object
    implements java.lang.AutoCloseable
    Result of the extraction of pages from a multipage image.
    • Constructor Summary

      Constructors 
      Constructor Description
      PageExtractionResult​(java.util.List<ExtractedPage> pages)
      Constructs PageExtractionResult with the given params.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Closes native resources (images) held by the object.
      java.util.List<ExtractedPage> getPages()
      Getter for pages field.
      • Methods inherited from class java.lang.Object

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

      • PageExtractionResult

        public PageExtractionResult​(java.util.List<ExtractedPage> pages)
        Constructs PageExtractionResult with the given params.
        Parameters:
        pages - List of extracted pages.
    • Method Detail

      • getPages

        public java.util.List<ExtractedPage> getPages()
        Getter for pages field. See constructor documentation for more information about the field.
        Returns:
        pages
      • close

        public void close()
        Closes native resources (images) held by the object.
        Specified by:
        close in interface java.lang.AutoCloseable