|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.resource.tool.TocIndex
public class TocIndex
Traverse a directory tree and collect the files in an index.
| Constructor Summary | |
|---|---|
TocIndex()
Creates a new object. |
|
| Method Summary | |
|---|---|
static int |
commandLine(java.lang.String[] argv)
The main program. |
long |
createIndex()
Initialize the creation of the index and perform the creation itself. |
static void |
main(java.lang.String[] args)
Command line interface. |
void |
processCommandLine(java.lang.String[] argv)
Process the list of string as command line parameters. |
void |
setBase(java.io.File base)
Setter for base. |
void |
setOutFile(java.lang.String outFile)
Setter for outFile. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TocIndex()
| Method Detail |
|---|
public static int commandLine(java.lang.String[] argv)
argv - list of command line parameters
public static void main(java.lang.String[] args)
args - the command line arguments
public long createIndex()
throws java.lang.Exception
java.lang.Exception - in case of an error
public void processCommandLine(java.lang.String[] argv)
throws java.lang.Exception
argv - the command line parameters
java.lang.Exception - in case of an errorpublic void setBase(java.io.File base)
base - the base to set
public void setOutFile(java.lang.String outFile)
throws java.lang.RuntimeException
outFile - the outFile to set
java.lang.RuntimeException - in case the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||