|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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(org.eclipse.core.runtime.IPath libraryPath,
org.eclipse.core.runtime.IPath sourcePath,
org.eclipse.core.runtime.IPath packageRoot)
Creates a new library location. |
Method Summary | |
protected boolean |
equals(org.eclipse.core.runtime.IPath path1,
org.eclipse.core.runtime.IPath path2)
Returns whether the given paths are equal - either may be null . |
boolean |
equals(Object obj)
|
org.eclipse.core.runtime.IPath |
getPackageRootPath()
Returns the path to the default package in the sources zip file |
org.eclipse.core.runtime.IPath |
getSystemLibraryPath()
Returns the JRE library jar location. |
org.eclipse.core.runtime.IPath |
getSystemLibrarySourcePath()
Returns the JRE library source zip location. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LibraryLocation(org.eclipse.core.runtime.IPath libraryPath, org.eclipse.core.runtime.IPath sourcePath, org.eclipse.core.runtime.IPath packageRoot)
libraryPath
- The location of the JAR containing java.lang.Object
Must not be null
.sourcePath
- The location of the zip file containing the sources for library
Must not be null
(Use Path.EMPTY instead)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 or IPath.ROOT)
IllegalArgumentException
- If the library path is null
.Method Detail |
public org.eclipse.core.runtime.IPath getSystemLibraryPath()
public org.eclipse.core.runtime.IPath getSystemLibrarySourcePath()
public org.eclipse.core.runtime.IPath getPackageRootPath()
public boolean equals(Object obj)
public int hashCode()
protected boolean equals(org.eclipse.core.runtime.IPath path1, org.eclipse.core.runtime.IPath path2)
null
.
path1
- path to be comparedpath2
- path to be compared
|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |