|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openide.execution.NbClassPath
Property that can hold informations about class path and that can be used to create string representation of the class path.
Constructor Summary | |
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. |
Method Summary | |
static NbClassPath |
createBootClassPath()
Creates path describing boot class path of the system. |
static NbClassPath |
createClassPath()
Creates class path of the system. |
static NbClassPath |
createLibraryPath()
Creates class path describing additional libraries needed by the system. |
static NbClassPath |
createRepositoryPath()
Method to obtain class path for the current state of the repository. |
static NbClassPath |
createRepositoryPath(FileSystemCapability cap)
Method to obtain class path for the current state of the repository. |
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 probably should use FileUtil.toFile(org.openide.filesystems.FileObject) instead. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
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
sMethod Detail |
public static NbClassPath createRepositoryPath()
public static NbClassPath createRepositoryPath(FileSystemCapability cap)
cap
- the capability that must be satisfied by the file system
added to the class pathpublic static NbClassPath createLibraryPath()
public static NbClassPath createClassPath()
public static NbClassPath createBootClassPath()
public static File toFile(FileObject fo)
FileUtil.toFile(org.openide.filesystems.FileObject)
instead.
FileSystem.Environment
.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()
public boolean equals(Object o)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |