|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.core.index.JavaIndexer
public final class JavaIndexer
JavaIndexer
provides functionality to generate index files which can be used by the JDT SearchEngine
.
The generated index files can be used as a classpath attribute for the particular classpath entry.
The search engine indexes all the elements referred in the classpath entries of the project into index files. These index files are used to search the elements faster. Indexing for bigger jars could take some time. To avoid this time, one can generate the index file and specify it when the jar is added to the classpath of the project.
Constructor Summary | |
---|---|
JavaIndexer()
|
Method Summary | |
---|---|
static void |
generateIndexForJar(String pathToJar,
String pathToIndexFile)
Generates the index file for the specified jar. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaIndexer()
Method Detail |
---|
public static void generateIndexForJar(String pathToJar, String pathToIndexFile) throws IOException
pathToJar
- The full path to the jar that needs to be indexedpathToIndexFile
- The full path to the index file that needs to be generated
IOException
- if the jar is not found or could not write into the index file
|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.