public class JarIndexer extends Object
Modifier and Type | Method and Description |
---|---|
static org.jboss.jandex.Result |
createJarIndex(File jarFile,
Indexer indexer,
boolean modify,
boolean newJar,
boolean verbose)
Indexes a jar file and saves the result.
|
public static org.jboss.jandex.Result createJarIndex(File jarFile, Indexer indexer, boolean modify, boolean newJar, boolean verbose) throws IOException
.jar
extension is replaced with -jar.idx
jarFile
- The file to indexindexer
- The indexer to usemodify
- If the original jar should be modifiedverbose
- If we should print what we are doing to standard outIOException
Copyright © 2021 JBoss, a division of Red Hat, Inc.. All Rights Reserved.