|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.index.SimpleFileIndexingObserver
public class SimpleFileIndexingObserver
A FileIndexingObserver that simply outputs messages to System out. Can be turned off by calling the static debug(false) method.
| Field Summary |
|---|
| Fields inherited from interface org.dlese.dpc.index.FileIndexingObserver |
|---|
INDEXING_COMPLETED_ABORTED, INDEXING_COMPLETED_DIR_DOES_NOT_EXIST, INDEXING_COMPLETED_DIR_READ_ERROR, INDEXING_COMPLETED_ERROR, INDEXING_COMPLETED_ITEM_ERROR, INDEXING_COMPLETED_SUCCESS |
| Constructor Summary | |
|---|---|
SimpleFileIndexingObserver()
Constructor for the SimpleFileIndexingObserver object |
|
SimpleFileIndexingObserver(String startUpMessage)
Constructor for the SimpleFileIndexingObserver object |
|
SimpleFileIndexingObserver(String messagePrefix,
String startUpMessage)
Constructor for the SimpleFileIndexingObserver object |
|
| Method Summary | |
|---|---|
void |
indexingCompleted(int status,
String message)
Outputs a message when indexing is complete. |
static void |
setDebug(boolean db)
Sets the debug attribute of the object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleFileIndexingObserver()
public SimpleFileIndexingObserver(String startUpMessage)
startUpMessage - A message that gets is sent to System out when this Object is created.
public SimpleFileIndexingObserver(String messagePrefix,
String startUpMessage)
messagePrefix - A identifier String that is inserted at the beginning of all messages output by
this SimpleFileIndexingObserverstartUpMessage - A message that gets is set to System out when this Object is created.| Method Detail |
|---|
public void indexingCompleted(int status,
String message)
indexingCompleted in interface FileIndexingObserverstatus - The status code upon completionmessage - A message describing how the indexer completedpublic static void setDebug(boolean db)
db - The new debug value
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||