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 |
|---|---|
java.net.URL |
getIndexLocation(IPath libraryPath)
Returns the
URL of the index for the given library or null. |
java.net.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)
Returns the
IPath of the zip or jar file containing the sources for library. |
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 nullIPath getSourcePath(IPath libraryPath)
IPath of the zip or jar file containing the sources for library.
null - use Path#EMPTYlibraryPath - the path to the library, must not be nullIPath to the source or the empty path, never nulljava.net.URL getJavadocLocation(IPath libraryPath)
URL of the Javadoc for this library or nulllibraryPath - the path to the library, must not be nullURL or nulljava.net.URL getIndexLocation(IPath libraryPath)
URL of the index for the given library or null.libraryPath - the path to the library, must not be nullURL or null