|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.jdt.launching.LibraryLocation
The location of a library (for example rt.jar). *
* Clients may instantiate this class; it is not intended to be subclassed. *
Constructor Summary | |
LibraryLocation(IPath libraryPath,
IPath sourcePath,
IPath packageRoot)
Creates a new library location. |
Method Summary | |
protected boolean |
equals(IPath path1,
IPath path2)
Returns whether the given paths are equal - either may be null . |
boolean |
equals(Object obj)
|
IPath |
getPackageRootPath()
|
IPath |
getSystemLibraryPath()
|
IPath |
getSystemLibrarySourcePath()
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LibraryLocation(IPath libraryPath, IPath sourcePath, IPath packageRoot)
null
.
* @param sourcePath The location of the zip file containing the sources for library
* Must not be null
(Use Path.EMPTY instead)
* @param packageRoot The path inside the source
zip file where packages names
* begin. If the source for java.lang.Object source is found at
* "src/java/lang/Object.java" in the zip file, the
* packageRoot should be "src"
* Must not be null
. (Use Path.EMPTY instead)
* @throws IllegalArgumentException If the library path is null
.
Method Detail |
public IPath getSystemLibraryPath()
public IPath getSystemLibrarySourcePath()
public IPath getPackageRootPath()
public boolean equals(Object obj)
equals
in class Object
Object.equals(Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
protected boolean equals(IPath path1, IPath path2)
null
.
|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |