Package org.jppf.doc

Class AuthorsFileExplorer

java.lang.Object
org.jppf.doc.FileExplorer
org.jppf.doc.AuthorsFileExplorer

public class AuthorsFileExplorer extends FileExplorer
Author:
Laurent Cohen
  • Constructor Details

    • AuthorsFileExplorer

      public AuthorsFileExplorer(File root)
      Parameters:
      root - the root of the files to explore.
    • AuthorsFileExplorer

      public AuthorsFileExplorer(String root)
      Parameters:
      root - the root of the files to explore.
  • Method Details

    • beforeReadFile

      public void beforeReadFile(File file)
      Description copied from class: FileExplorer
      Called before reading the content of the file currently explored.
      Specified by:
      beforeReadFile in class FileExplorer
      Parameters:
      file - the file being explored.
    • afterReadFile

      public void afterReadFile(File file, String content)
      Description copied from class: FileExplorer
      Called before reading the content of the file currently explored.
      Specified by:
      afterReadFile in class FileExplorer
      Parameters:
      file - the file being explored.
      content - the file content as a string.
    • beforeExploreDir

      public void beforeExploreDir(File dir)
      Description copied from class: FileExplorer
      Called before exploring a directory.
      Specified by:
      beforeExploreDir in class FileExplorer
      Parameters:
      dir - the directory being explored.
    • afterExploreDir

      public void afterExploreDir(File dir)
      Description copied from class: FileExplorer
      Called after exploring a directory.
      Specified by:
      afterExploreDir in class FileExplorer
      Parameters:
      dir - the directory being explored.
    • getAuthors

      public Set<String> getAuthors()
      Get the authors found.
      Returns:
      a list of authors.
    • getMatches

      public int getMatches()
      Returns:
      .
    • main

      public static void main(String[] args)
      Parameters:
      args - not used.