public final class NbClassPath extends Object implements Serializable
Constructor and Description |
---|
NbClassPath(File[] classpathItems)
Create a new descriptor for the specified process, classpath switch, and classpath.
|
NbClassPath(String path)
Create a class path from the usual string representation.
|
NbClassPath(String[] classpathItems)
Create a new descriptor for the specified process, classpath switch, and classpath.
|
Modifier and Type | Method and Description |
---|---|
static NbClassPath |
createBootClassPath()
Deprecated.
Use the Java Platform API instead.
|
static NbClassPath |
createClassPath()
Deprecated.
There are generally no excuses to be using this method as part of a normal module;
its exact meaning is vague, and probably not what you want.
|
static NbClassPath |
createLibraryPath()
Deprecated.
There are generally no excuses to be using this method as part of a normal module;
its exact meaning is vague, and probably not what you want.
|
boolean |
equals(Object o) |
String |
getClassPath()
Create class path representation.
|
Exception[] |
getExceptions()
If there were some problems during creation of the class path, they can be identified
by asking the method.
|
static File |
toFile(FileObject fo)
Deprecated.
You should use
FileUtil.toFile(org.openide.filesystems.FileObject) instead. |
public NbClassPath(String[] classpathItems)
classpathItems
- the classpath to be passed to the processpublic NbClassPath(File[] classpathItems)
classpathItems
- the classpath to be passed to the processpublic NbClassPath(String path)
path
- a class path separated by File.pathSeparatorChar
spublic static NbClassPath createLibraryPath()
public static NbClassPath createClassPath()
public static NbClassPath createBootClassPath()
public static File toFile(FileObject fo)
FileUtil.toFile(org.openide.filesystems.FileObject)
instead.fo
- file object to convertnull
if there is no corresponding disk filepublic Exception[] getExceptions()
This can happen especially when creating NbClassPath for filesystems in repository and they are not stored on locally accessible disks.
public String getClassPath()