|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.jdeveloper.java.locator.ClassLocatorFactory
The ClassLocatorFactory is a factory for fetching
BaseClassLocator instances. It provides a cache for
these instances to allow sharing between clients.
| Field Summary | |
static BaseClassLocator |
EMPTY_LOCATOR
Locator implementation that does nothing. |
| Constructor Summary | |
ClassLocatorFactory()
|
|
| Method Summary | |
static BaseClassLocator |
getClassLocator(java.net.URL rootURL)
Fetch a BaseClassLocator instance for the given root URL
path, for Java class files. |
static BaseClassLocator |
getClassLocator(URLPath urlPath)
Fetch a BaseClassLocator instance for the given
URLPath for locating class files. |
static BaseClassLocator |
getLibraryLocator(Library library)
Fetch a BaseClassLocator instance for the given
library for locating source and class files. |
static BaseClassLocator |
getLibraryLocator(Library[] libraries)
Fetch a BaseClassLocator instance for the given set of
libraries for locating source and class files. |
static BaseClassLocator |
getPathLocator(URLPath sourcePath,
URLPath classPath)
Fetch a BaseClassLocator instance for the given source
and class paths for locating source and class files. |
static BaseClassLocator |
getProjectLocator(Project project)
Fetch a BaseClassLocator instance for the given
project for locating source and class files. |
static BaseClassLocator |
getSourceLocator(java.net.URL rootURL)
Fetch a BaseClassLocator instance for the given root URL
path, for Java source files. |
static BaseClassLocator |
getSourceLocator(URLPath urlPath)
Fetch a BaseClassLocator instance for the given
URLPath for locating source files. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final BaseClassLocator EMPTY_LOCATOR
| Constructor Detail |
public ClassLocatorFactory()
| Method Detail |
public static BaseClassLocator getSourceLocator(java.net.URL rootURL)
BaseClassLocator instance for the given root URL
path, for Java source files. Returns null if the URL is null.
rootURL - the root URL for the class locator
public static BaseClassLocator getClassLocator(java.net.URL rootURL)
BaseClassLocator instance for the given root URL
path, for Java class files. Returns null if the URL is null.
URL and file type.
rootURL - the root URL for the class locator
public static BaseClassLocator getSourceLocator(URLPath urlPath)
BaseClassLocator instance for the given
URLPath for locating source files. This does not currently track
changes to the URLPath. Returns null if the URLPath is
null.
urlPath - the URLPath to create a class locator for
public static BaseClassLocator getClassLocator(URLPath urlPath)
BaseClassLocator instance for the given
URLPath for locating class files. This does not currently track
changes to the URLPath. Returns null if the URLPath is null.
urlPath - the URLPath to create a class locator for
public static BaseClassLocator getLibraryLocator(Library library)
BaseClassLocator instance for the given
library for locating source and class files. This does not currently
track changes to the Library definition. Returns null if the library
is null.
library - the library to create a class locator for
public static BaseClassLocator getLibraryLocator(Library[] libraries)
BaseClassLocator instance for the given set of
libraries for locating source and class files. This does not currently
track changes to the Library definitions. Returns null if the provided
libraries is null.
libraries - the libraries to create a class locator for
public static BaseClassLocator getProjectLocator(Project project)
BaseClassLocator instance for the given
project for locating source and class files. This does not currently
track changes to the Project settings. Returns null if the project
is null.
project - the project to create a class locator for
public static BaseClassLocator getPathLocator(URLPath sourcePath,
URLPath classPath)
BaseClassLocator instance for the given source
and class paths for locating source and class files. This does not
currently track changes to the URLPaths provided. Returns null if
both specified paths are null.
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.