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.
|
static Result |
createJarIndex(File jarFile,
Indexer indexer,
File outputFile,
boolean modify,
boolean newJar,
boolean verbose)
Indexes a jar file and saves the result.
|
static Result |
createJarIndex(File jarFile,
Indexer indexer,
File outputFile,
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, File outputFile, boolean modify, boolean newJar, boolean verbose) throws IOException
.idx
suffix.jarFile
- The file to indexindexer
- The indexer to useoutputFile
- The index file to write tomodify
- 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 errorpublic static Result createJarIndex(File jarFile, Indexer indexer, File outputFile, boolean modify, boolean newJar, boolean verbose, PrintStream infoStream, PrintStream errStream) throws IOException
.idx
suffix.jarFile
- The file to indexindexer
- The indexer to useoutputFile
- The index file to write tomodify
- 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 null 1errStream
- A print stream to print errors, must not be nullIOException
- for any I/o errorCopyright © 2018 JBoss by Red Hat. All rights reserved.