Package org.jboss.jandex
Class Main
- java.lang.Object
-
- org.jboss.jandex.Main
-
public class Main extends java.lang.ObjectResponsible for launching the indexing tool on a java command line.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateMain()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voiddumpIndex(java.io.File source)private voidexecute(java.lang.String[] args)private IndexgetIndex(long start)private ResultindexDirectory(java.io.File source, Indexer indexer)static voidmain(java.lang.String[] args)private voidparseOptions(java.lang.String[] args)private voidprintIndexEntryInfo(ClassSummary info)private static voidprintUsage()private voidsafeClose(java.io.FileInputStream input)private voidscanFile(java.io.File source, Indexer indexer)
-
-
-
Field Detail
-
modify
private boolean modify
-
verbose
private boolean verbose
-
dump
private boolean dump
-
jarFile
private boolean jarFile
-
outputFile
private java.io.File outputFile
-
source
private java.io.File source
-
index
private Index index
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
execute
private void execute(java.lang.String[] args)
-
getIndex
private Index getIndex(long start) throws java.io.IOException
- Throws:
java.io.IOException
-
dumpIndex
private void dumpIndex(java.io.File source) throws java.io.IOException- Throws:
java.io.IOException
-
indexDirectory
private Result indexDirectory(java.io.File source, Indexer indexer) throws java.io.FileNotFoundException, java.io.IOException
- Throws:
java.io.FileNotFoundExceptionjava.io.IOException
-
printIndexEntryInfo
private void printIndexEntryInfo(ClassSummary info)
-
scanFile
private void scanFile(java.io.File source, Indexer indexer) throws java.io.FileNotFoundException, java.io.IOException- Throws:
java.io.FileNotFoundExceptionjava.io.IOException
-
safeClose
private void safeClose(java.io.FileInputStream input)
-
printUsage
private static void printUsage()
-
parseOptions
private void parseOptions(java.lang.String[] args)
-
-