public interface ILibraryLocationResolver
LibraryLocation
information for
non-standard JRE / JDK libraries.
/ext
location of a JRE / JDKJavaRuntime.EXTENSION_POINT_LIBRARY_LOCATION_RESOLVERS
Modifier and Type | Method and Description |
---|---|
URL |
getIndexLocation(IPath libraryPath)
Returns the
URL of the index for the given library or null . |
URL |
getJavadocLocation(IPath libraryPath)
Returns the
URL of the Javadoc for this library or null |
IPath |
getPackageRoot(IPath libraryPath)
Returns the path inside the
source zip file where packages names begin, must not be
null - use Path.EMPTY
For example, if the source for java.lang.Object source is found at src/java/lang/Object.java in the zip file, the package root
would be src . |
IPath |
getSourcePath(IPath libraryPath)
|
IPath getPackageRoot(IPath libraryPath)
source
zip file where packages names begin, must not be
null
- use Path.EMPTY
java.lang.Object
source is found at src/java/lang/Object.java
in the zip file, the package root
would be src
.libraryPath
- the path to the libraryIPath
to the root of the source or the empty path, never null
IPath getSourcePath(IPath libraryPath)
IPath
of the zip
or jar
file containing the sources for library
.
null
- use Path.EMPTY
libraryPath
- the path to the library, must not be null
IPath
to the source or the empty path, never null
URL getJavadocLocation(IPath libraryPath)
URL
of the Javadoc for this library or null
libraryPath
- the path to the library, must not be null
URL
or null
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.