Package | Description |
---|---|
org.netbeans.api.java.classpath |
Representation of Java classpaths, and the ability to find the classpath needed
for a particular purpose.
|
org.netbeans.spi.java.classpath |
SPI permitting new classpaths to be constructed and registered.
|
org.netbeans.spi.java.classpath.support |
Convenience classes to make it easier to create classpaths.
|
Modifier and Type | Field and Description |
---|---|
static ClassPath |
ClassPath.EMPTY
The empty ClassPath.
|
Modifier and Type | Method and Description |
---|---|
static ClassPath |
ClassPath.FileObject f,
String id)
Find the classpath of a given type, if any, defined for a given file.
|
ClassPath |
ClassPath.Entry.getDefiningClassPath()
Returns the ClassPath instance, which defines/introduces the Entry.
|
Modifier and Type | Method and Description |
---|---|
void |
GlobalPathRegistry.register(String id,
ClassPath[] paths)
Register some classpaths of a certain type.
|
void |
GlobalPathRegistry.unregister(String id,
ClassPath[] paths)
Unregister some classpaths of a certain type.
|
Modifier and Type | Method and Description |
---|---|
static ClassPath |
ClassPathFactory.createClassPath(ClassPathImplementation spiClasspath)
Create API classpath instance for the given SPI classpath.
|
ClassPath |
ClassPathProvider.FileObject file,
String type)
Find some kind of a classpath for a given file.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Set<ClassPath> |
GlobalPathRegistryImplementation.register(String id,
ClassPath[] paths)
Register some classpaths of a certain type.
|
protected abstract Set<ClassPath> |
GlobalPathRegistryImplementation.unregister(String id,
ClassPath[] paths)
Unregister some classpaths of a certain type.
|
Modifier and Type | Method and Description |
---|---|
static ClassPath |
ClassPathSupport.FileObject... roots)
Create ClassPath for the given array of class path roots
|
static ClassPath |
ClassPathSupport.createClassPath(List<? extends PathResourceImplementation> entries)
Create ClassPath for the given list of
PathResourceImplementation entries. |
static ClassPath |
ClassPathSupport.createClassPath(String jvmPath)
Convenience method to create a classpath object from a conventional string representation.
|
static ClassPath |
ClassPathSupport.createClassPath(URL... roots)
Create ClassPath for the given array of class path roots
|
static ClassPath |
ClassPathSupport.createMultiplexClassPath(ClassPathSupport.Selector selector)
|
static ClassPath |
ClassPathSupport.createProxyClassPath(ClassPath... delegates)
Creates read only proxy ClassPath for given delegates.
|
ClassPath |
ClassPathSupport.Selector.getActiveClassPath()
Returns the active
ClassPath . |
Modifier and Type | Method and Description |
---|---|
static ClassPath |
ClassPathSupport.createProxyClassPath(ClassPath... delegates)
Creates read only proxy ClassPath for given delegates.
|