public class JarIndexer extends Object
| Modifier and Type | Method and Description |
|---|---|
static Result |
createJarIndex(File jarFile,
Indexer indexer,
boolean modify,
boolean newJar,
boolean verbose)
Indexes a jar file and saves the result.
|
static Result |
createJarIndex(File jarFile,
Indexer indexer,
boolean modify,
boolean newJar,
boolean verbose,
PrintStream infoStream,
PrintStream errStream)
Indexes a jar file and saves the result.
|
public static Result createJarIndex(File jarFile, Indexer indexer, boolean modify, boolean newJar, boolean verbose) throws IOException
.idx suffix.jarFile - The file to indexindexer - The indexer to usemodify - If the original jar should be modifiednewJar - If the new jar should be createdverbose - If we should print what we are doing to standard outIOException - for any I/o errorpublic static Result createJarIndex(File jarFile, Indexer indexer, boolean modify, boolean newJar, boolean verbose, PrintStream infoStream, PrintStream errStream) throws IOException
.idx suffix.jarFile - The file to indexindexer - The indexer to usemodify - If the original jar should be modifiednewJar - If the new jar should be createdverbose - If we should print what we are doing to the specified info streaminfoStream - A print stream which will record verbose info, may be nullerrStream - A print stream to print errors, must not be nullIOException - for any I/o errorCopyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.