Interface ProgressListener

All Known Implementing Classes:
ProgressAdapter

public interface ProgressListener
Receives updates on the server's progress in processing the main document.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    progress(long serverRead)
    Receives the number of bytes of the main document that have been processed.
    void
    sourceLength(long sourceLength)
    Receives the server's estimate of the main document's size.
  • Method Details

    • sourceLength

      void sourceLength(long sourceLength)

      Receives the server's estimate of the main document's size.

      This method may not be called, and the value passed to it may be inaccurate.

      Parameters:
      sourceLength - The size of the main document in bytes.
    • progress

      void progress(long serverRead)
      Receives the number of bytes of the main document that have been processed.

      This method may not be called, and the value passed to it may be inaccurate.

      Parameters:
      serverRead - The number of bytes read.