Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.api.java/1 1.10.22
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.netbeans.spi.java.classpath

SPI permitting new classpaths to be constructed and registered.

See:
Description

Interface Summary
ClassPathImplementation | SPI interface for ClassPath.
ClassPathProvider | Provider interface for Java classpaths.
PathResourceImplementation | SPI interface for one classpath entry.

Class Summary
ClassPathFactory | Most general way to create `ClassPath` instances.

## Package org.netbeans.spi.java.classpath Description

SPI permitting new classpaths to be constructed and registered.

`ClassPathProvider`s can be registered to default lookup in order to associate information about classpaths with files. For example, a Java-oriented project type would normally indicate that its Java sources have a certain classpath associated with them.
For a source file the ClassPathProvider has to return a `ClassPath` of the following ClassPath types:

- ClassPath.SOURCE - the classpath contains the source roots of the project
- ClassPath.BOOT - the classpath contains the jdk runtime libraries
- ClassPath.COMPILE - the classpath contains the project compile libraries (compile classpath)

it may also return a ClassPath of type ClassPath.EXEC pointing to the build output folder.
For build output the ClassPathProvider has to return a ClassPath of the following types:

- ClassPath.BOOT - the classpath contains the jdk runtime libraries
- ClassPath.COMPILE - the classpath contains the project compile libraries (compile classpath)
- ClassPath.EXEC - the classpath contains the build output folder

`ClassPathFactory` may be used to create new `ClassPath` instances.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.api.java/1 1.10.22
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.