public interface CacheDirectoryProvider
Implementors should place an instance in Project.getLookup()
.
Callers should use ProjectUtils.getCacheDirectory(org.netbeans.api.project.Project, java.lang.Class<?>)
rather than looking for this interface.
Modifier and Type | Method and Description |
---|---|
FileObject |
getCacheDirectory()
Get a directory in which modules may store disposable cached information
about the project, such as an index of classes it contains.
|
FileObject getCacheDirectory() throws IOException
SharabilityQuery
.
Modules are responsible for preventing name clashes in this directory by
using sufficiently unique names for child files and folders.IOException
- if it cannot be created or loaded