|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfbox.searchengine.lucene.IndexFiles
public class IndexFiles
This is a class that will index some files on a local filesystem. This code was modified from a demo that comes with the lucene search engine.
Constructor Summary | |
---|---|
IndexFiles()
|
Method Summary | |
---|---|
void |
index(java.io.File root,
boolean create,
java.lang.String index)
This will index a directory. |
static void |
main(java.lang.String[] argv)
This is the main entry point for the indexer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexFiles()
Method Detail |
---|
public static void main(java.lang.String[] argv)
argv
- The command line arguments.public void index(java.io.File root, boolean create, java.lang.String index)
root
- The root directory to start indexing.create
- Should we create a new index?index
- The name of the index.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |