public class JavaFxLibraryResolver extends java.lang.Object implements ILibraryLocationResolver
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JFXRT_JAR |
| Constructor and Description |
|---|
JavaFxLibraryResolver() |
| 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. |
public static final java.lang.String JFXRT_JAR
public IPath getPackageRoot(IPath libraryPath)
ILibraryLocationResolversource 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.getPackageRoot in interface ILibraryLocationResolverlibraryPath - the path to the libraryIPath to the root of the source or the empty path, never nullpublic IPath getSourcePath(IPath libraryPath)
ILibraryLocationResolverIPath of the zip or jar file containing the sources for library.
null - use Path#EMPTYgetSourcePath in interface ILibraryLocationResolverlibraryPath - the path to the library, must not be nullIPath to the source or the empty path, never nullpublic java.net.URL getJavadocLocation(IPath libraryPath)
ILibraryLocationResolverURL of the Javadoc for this library or nullgetJavadocLocation in interface ILibraryLocationResolverlibraryPath - the path to the library, must not be nullURL or nullpublic java.net.URL getIndexLocation(IPath libraryPath)
ILibraryLocationResolverURL of the index for the given library or null.getIndexLocation in interface ILibraryLocationResolverlibraryPath - the path to the library, must not be nullURL or null