| java.lang.Object org.netbeans.modules.java.source.usages.Index
All known Subclasses: org.netbeans.modules.java.source.usages.LuceneIndex,
Index | abstract public class Index (Code) | | Index SPI. Represents an index for usages data
author: Tomas Zezula |
Inner Class :public enum BooleanOperator | |
Method Summary | |
abstract public void | clear() | abstract public void | close() | public static synchronized File | getCacheFolder() | public static File | getClassFolder(URL url, boolean onlyIfAlreadyExists) returns null if onlyIfAlreadyExists == true and the cache folder for the given url does not exist. | public static File | getClassFolder(URL url) | public static File | getClassFolder(File root) | public static synchronized File | getDataFolder(URL root) | public static synchronized File | getDataFolder(URL root, boolean onlyIfAlreadyExists) | abstract public void | getDeclaredTypes(String simpleName, ClassIndex.NameKind kind, ResultConvertor<T> convertor, Set<? super T> result) | static String | getNbUserDir() Returns non cached netbeans user dir. | abstract public void | getPackageNames(String prefix, boolean directOnly, Set<String> result) | abstract public String | getSourceName(String binaryName) | public static URL | getSourceRootForClassFolder(URL classFolder) | abstract public List<String> | getUsagesFQN(String resourceName, Set<ClassIndexImpl.UsageType> mask, BooleanOperator operator) | abstract public boolean | isUpToDate(String resourceName, long timeStamp) | abstract public boolean | isValid(boolean tryOpen) | static synchronized void | setCacheFolder(File folder) | abstract public void | store(Map<Pair<String, String>, List<String>> refs, Set<Pair<String, String>> toDelete) | abstract public void | store(Map<Pair<String, String>, List<String>> refs, List<Pair<String, String>> topLevels) |
getCacheFolder | public static synchronized File getCacheFolder()(Code) | | |
getClassFolder | public static File getClassFolder(URL url, boolean onlyIfAlreadyExists) throws IOException(Code) | | returns null if onlyIfAlreadyExists == true and the cache folder for the given url does not exist.
|
getDataFolder | public static synchronized File getDataFolder(URL root, boolean onlyIfAlreadyExists) throws IOException(Code) | | |
getNbUserDir | static String getNbUserDir()(Code) | | Returns non cached netbeans user dir.
For performance reasons the returned
File is not normalized.
Client is responsible to call
FileUtil.normalizeFile before using the returned value.
netbeans user dir. |
getSourceRootForClassFolder | public static URL getSourceRootForClassFolder(URL classFolder)(Code) | | |
setCacheFolder | static synchronized void setCacheFolder(File folder)(Code) | | Only for unit tests!
|
|
|