Package org.jppf.doc
Class AuthorsFileExplorer
java.lang.Object
org.jppf.doc.FileExplorer
org.jppf.doc.AuthorsFileExplorer
- Author:
- Laurent Cohen
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jppf.doc.FileExplorer
FileExplorer.ExploreFilter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterExploreDir(File dir) Called after exploring a directory.voidafterReadFile(File file, String content) Called before reading the content of the file currently explored.voidbeforeExploreDir(File dir) Called before exploring a directory.voidbeforeReadFile(File file) Called before reading the content of the file currently explored.Get the authors found.intstatic voidMethods inherited from class org.jppf.doc.FileExplorer
explore
-
Constructor Details
-
AuthorsFileExplorer
- Parameters:
root- the root of the files to explore.
-
AuthorsFileExplorer
- Parameters:
root- the root of the files to explore.
-
-
Method Details
-
beforeReadFile
Description copied from class:FileExplorerCalled before reading the content of the file currently explored.- Specified by:
beforeReadFilein classFileExplorer- Parameters:
file- the file being explored.
-
afterReadFile
Description copied from class:FileExplorerCalled before reading the content of the file currently explored.- Specified by:
afterReadFilein classFileExplorer- Parameters:
file- the file being explored.content- the file content as a string.
-
beforeExploreDir
Description copied from class:FileExplorerCalled before exploring a directory.- Specified by:
beforeExploreDirin classFileExplorer- Parameters:
dir- the directory being explored.
-
afterExploreDir
Description copied from class:FileExplorerCalled after exploring a directory.- Specified by:
afterExploreDirin classFileExplorer- Parameters:
dir- the directory being explored.
-
getAuthors
Get the authors found.- Returns:
- a list of authors.
-
getMatches
public int getMatches()- Returns:
- .
-
main
- Parameters:
args- not used.
-