public final class WebLogIndexingService
extends java.lang.Object
Constructor and Description |
---|
WebLogIndexingService(java.lang.String configFile) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getDateStamp()
Return a string for the current time and date, sutiable for display in log files and
output to standout:
|
static java.lang.String |
getSimpleDateStamp()
Return a string for the current time and date, sutiable for display in log files and
output to standout:
|
void |
indexFiles() |
long |
indexWebLogFile(java.io.File webLogFile) |
static void |
main(java.lang.String[] args)
The main program for the WebLogIndexingService
|
static void |
setDebug(boolean db)
Sets the debug attribute object
|
boolean |
swapIndexes() |
public static void main(java.lang.String[] args)
args
- The command line argumentspublic void indexFiles()
public long indexWebLogFile(java.io.File webLogFile) throws java.io.IOException
java.io.IOException
public boolean swapIndexes()
public static java.lang.String getSimpleDateStamp()
public static java.lang.String getDateStamp()
public static void setDebug(boolean db)
db
- The new debug value