Interface ProgressCallback

  • All Implemented Interfaces:

    
    public interface ProgressCallback
    
                        

    A callback that enables developers to monitor the progress of time-consuming operations, like page extraction from a PDF file.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onPageProcessed(Integer pageIndex, Integer totalCount) Will be called after every bit of progress (e.g.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onPageProcessed

         abstract Unit onPageProcessed(Integer pageIndex, Integer totalCount)

        Will be called after every bit of progress (e.g. after every processed page/file before iterating to the next page/file).