Interface WorkspaceIndex.IndexProgressListener

Enclosing class:
WorkspaceIndex
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface WorkspaceIndex.IndexProgressListener
Listener notified as files are indexed during a WorkspaceIndex.scanDirectory(java.nio.file.Path) call.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onProgress(int indexed, int total, Path file)
    Called each time a file has been indexed.
  • Method Details

    • onProgress

      void onProgress(int indexed, int total, Path file)
      Called each time a file has been indexed.
      Parameters:
      indexed - the number of files indexed so far.
      total - the total number of XML-family files to index.
      file - the file just indexed.