Class ExtractedPage

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class ExtractedPage
    extends java.lang.Object
    implements java.lang.AutoCloseable
    A single page extracted from a multipage image.
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtractedPage​(java.util.List<ExtractedImage> images)
      Constructs ExtractedPage 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<ExtractedImage> getImages()
      Getter for images field.
      • Methods inherited from class java.lang.Object

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

      • ExtractedPage

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

      • getImages

        public java.util.List<ExtractedImage> getImages()
        Getter for images field. See constructor documentation for more information about the field.
        Returns:
        images
      • close

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