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 void
private void
private Index
getIndex
(long start) private Result
indexDirectory
(File source, Indexer indexer) static void
private void
parseOptions
(String[] args) private void
printIndexEntryInfo
(ClassInfo info) private static void
private void
safeClose
(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:
FileNotFoundException
IOException
-
printIndexEntryInfo
-
scanFile
- Throws:
FileNotFoundException
IOException
-
safeClose
-
printUsage
private static void printUsage() -
parseOptions
-