|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | 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()
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. |
static NbClassPath |
createRepositoryPath()
Deprecated. Please use the ClassPath API instead. |
static NbClassPath |
createRepositoryPath(FileSystemCapability cap)
Deprecated. Please use the ClassPath API instead. |
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. |
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 path
public 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 convert
null
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)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |