java.io.Serializablepublic final class NbClassPath
extends java.lang.Object
implements java.io.Serializable
| Constructor | Description |
|---|---|
NbClassPath(java.io.File[] classpathItems) |
Create a new descriptor for the specified process, classpath switch, and classpath.
|
NbClassPath(java.lang.String path) |
Create a class path from the usual string representation.
|
NbClassPath(java.lang.String[] classpathItems) |
Create a new descriptor for the specified process, classpath switch, and classpath.
|
| Modifier and Type | Method | 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(java.lang.Object o) |
|
java.lang.String |
getClassPath() |
Create class path representation.
|
java.lang.Exception[] |
getExceptions() |
If there were some problems during creation of the class path, they can be identified
by asking the method.
|
static java.io.File |
toFile(org.openide.filesystems.FileObject fo) |
Deprecated.
You should use
FileUtil.toFile(org.openide.filesystems.FileObject) instead. |
public NbClassPath(java.lang.String[] classpathItems)
classpathItems - the classpath to be passed to the processpublic NbClassPath(java.io.File[] classpathItems)
classpathItems - the classpath to be passed to the processpublic NbClassPath(java.lang.String path)
path - a class path separated by File.pathSeparatorCharspublic static NbClassPath createLibraryPath()
public static NbClassPath createClassPath()
public static NbClassPath createBootClassPath()
public static java.io.File toFile(org.openide.filesystems.FileObject fo)
FileUtil.toFile(org.openide.filesystems.FileObject) instead.fo - file object to convertnull if there is no corresponding disk filepublic java.lang.Exception[] getExceptions()
This can happen especially when creating NbClassPath for filesystems in repository and they are not stored on locally accessible disks.
public java.lang.String getClassPath()
public boolean equals(java.lang.Object o)
equals in class java.lang.ObjectBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.