Package org.jboss.jandex
Class Main
java.lang.Object
org.jboss.jandex.Main
Responsible for launching the indexing tool on a java command line.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidprivate IndexgetIndex(long start) private ResultindexDirectory(File source, Indexer indexer) static voidprivate voidparseOptions(String[] args) private voidprivate static voidprivate voidsafeClose(FileInputStream input) private void
-
Field Details
-
modify
private boolean modify -
verbose
private boolean verbose -
dump
private boolean dump -
jarFile
private boolean jarFile -
outputFile
-
source
-
index
-
-
Constructor Details
-
Main
private Main()
-
-
Method Details
-
main
-
execute
-
getIndex
- Throws:
IOException
-
dumpIndex
- Throws:
IOException
-
indexDirectory
private Result indexDirectory(File source, Indexer indexer) throws FileNotFoundException, IOException - Throws:
FileNotFoundExceptionIOException
-
printIndexEntryInfo
-
scanFile
- Throws:
FileNotFoundExceptionIOException
-
safeClose
-
printUsage
private static void printUsage() -
parseOptions
-