Package org.jboss.jandex
Class Main
- java.lang.Object
-
- org.jboss.jandex.Main
-
public class Main extends java.lang.Object
Responsible for launching the indexing tool on a java command line.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Main()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
dumpIndex(java.io.File source)
private void
execute(java.lang.String[] args)
private Index
getIndex(long start)
private Result
indexDirectory(java.io.File source, Indexer indexer)
static void
main(java.lang.String[] args)
private void
parseOptions(java.lang.String[] args)
private void
printIndexEntryInfo(ClassInfo info)
private static void
printUsage()
private void
safeClose(java.io.FileInputStream input)
private void
scanFile(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.FileNotFoundException
java.io.IOException
-
printIndexEntryInfo
private void printIndexEntryInfo(ClassInfo info)
-
scanFile
private void scanFile(java.io.File source, Indexer indexer) throws java.io.FileNotFoundException, java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
-
safeClose
private void safeClose(java.io.FileInputStream input)
-
printUsage
private static void printUsage()
-
parseOptions
private void parseOptions(java.lang.String[] args)
-
-