Top Description Fields Constructors Methods
org.jboss.jandex

public Class Main

extends Object
Class Inheritance
Imports
java.io.File, .FileInputStream, .FileNotFoundException, .FileOutputStream, .IOException, java.util.Locale

Responsible for launching the indexing tool on a java command line.
Author
Jason T. Greene

Field Summary

Modifier and TypeField and Description
private boolean
private Index
private boolean
private boolean
private File
private File
private boolean

Constructor Summary

AccessConstructor and Description
private
Main()

Method Summary

Modifier and TypeMethod and Description
private void
dumpIndex(File source)

private void
execute(String[] args)

private Index
getIndex(long start)

private Result
indexDirectory(File source, Indexer indexer)

public static void
main(String[] args)

private void
private void
private static void
private void
private void
scanFile(File source, Indexer indexer)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dumpback to summary
private boolean dump
indexback to summary
private Index index
jarFileback to summary
private boolean jarFile
modifyback to summary
private boolean modify
outputFileback to summary
private File outputFile
sourceback to summary
private File source
verboseback to summary
private boolean verbose

Constructor Detail

Mainback to summary
private Main()

Method Detail

dumpIndexback to summary
private void dumpIndex(File source) throws IOException
executeback to summary
private void execute(String[] args)
getIndexback to summary
private Index getIndex(long start) throws IOException
indexDirectoryback to summary
private Result indexDirectory(File source, Indexer indexer) throws FileNotFoundException, IOException
mainback to summary
public static void main(String[] args)
parseOptionsback to summary
private void parseOptions(String[] args)
printIndexEntryInfoback to summary
private void printIndexEntryInfo(ClassSummary info)
printUsageback to summary
private static void printUsage()
safeCloseback to summary
private void safeClose(FileInputStream input)
scanFileback to summary
private void scanFile(File source, Indexer indexer) throws FileNotFoundException, IOException