|
org.netbeans.api.java/1 1.10.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.api.java.classpath.ClassPath.Entry
public final class ClassPath.Entry
Represents an individual entry in the ClassPath. An entry is a description of a folder, which is one of the ClassPath roots. Since the Entry does not control the folder's lifetime, the folder may be removed and the entry becomes invalid. It's also expected that ClassPath implementations may use other ClassPath entries as default or base for themselves, so Entries may be propagated between ClassPaths. Please note: This class is not intended to be implemented by regular clients. The project infrastructure and / or java language support modules should implement it and offer its services to others. Do not implement this class
Method Summary | |
---|---|
ClassPath |
getDefiningClassPath()
Returns the ClassPath instance, which defines/introduces the Entry. |
IOException |
getError()
Retrieves the error condition of the Entry. |
FileObject |
getRoot()
The method returns the root folder represented by the Entry. |
URL |
getURL()
Returns URL of the class path root. |
boolean |
isValid()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public ClassPath getDefiningClassPath()
entries()
method.
public FileObject getRoot()
public boolean isValid()
public IOException getError()
getRoot()
would return a FileObject.
public URL getURL()
getRoot()
as
it can be called even if the root does not currently exist.
public String toString()
|
org.netbeans.api.java/1 1.10.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |