|
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.BaseClassLocator
oracle.jdeveloper.java.locator.URLClassLocator
oracle.jdeveloper.java.locator.JarURLClassLocator
The JarURLClassLocator is an implementation of the
URL-based ClassLocator which deals with root URLs that are located
within Jar archives.
| Field Summary |
| Fields inherited from class oracle.jdeveloper.java.locator.URLClassLocator |
_fileType, _rootURL, CLASS_SUFFIXES, CLASS_TYPE, SOURCE_SUFFIXES, SOURCE_TYPE |
| Fields inherited from class oracle.jdeveloper.java.locator.BaseClassLocator |
EMPTY_COLLECTION, EMPTY_STRING_ARRAY |
| Constructor Summary | |
protected |
JarURLClassLocator(java.net.URL jarURL,
int classType)
Constructs a new JarURLClassLocator. |
| Method Summary | |
void |
buildIndex()
Instructs this class locator to start building its index for locating files. |
protected void |
getAllClasses(java.util.Collection out,
ClassNameFilter filter)
Fetch all of the top-level classes that are known by this locator. |
protected void |
getAllPackages(java.util.Collection out,
PackageNameFilter filter)
Fetch all of the full packges that are known by this locator. |
protected void |
getClassesInPackage(java.lang.String packagePrefix,
java.util.Collection out)
Fetch the list of top-level classes within the given package, adding them to the out collection provided. |
protected void |
getPackages(java.lang.String packagePrefix,
java.util.Collection out)
Fetch the list of subpackages within the given package, adding them to the out collection provided. |
java.net.URL |
getResourceURL(java.lang.String resourceName)
Fetch the URL for the Java resource file given the resource name. |
java.net.URL |
getURL(java.lang.String fqClassName)
Fetch the URL for the JavaFile for the given fully-qualified Java class name. |
| Methods inherited from class oracle.jdeveloper.java.locator.URLClassLocator |
getClassURL, getFileType, getRootURL, getSourceURL, isClassTypeLocator, isMatchingFileType, isMatchingFileType, isSourceTypeLocator |
| Methods inherited from class oracle.jdeveloper.java.locator.BaseClassLocator |
addToCollection, buildFQName, ensureValid, getAllClasses, getAllClasses, getAllPackages, getAllPackages, getClassesByName, getClassesByPrefix, getClassesInPackage, getNameCascades, getNameParts, getPackages, getStringArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected JarURLClassLocator(java.net.URL jarURL,
int classType)
JarURLClassLocator.
jarURL - the root URL we are working with| Method Detail |
public void buildIndex()
buildIndex in class BaseClassLocator
protected void getPackages(java.lang.String packagePrefix,
java.util.Collection out)
getPackages in class BaseClassLocatorpackagePrefix - the package prefix, i.e., "java.io"out - the collection to add the packages
protected void getClassesInPackage(java.lang.String packagePrefix,
java.util.Collection out)
getClassesInPackage in class BaseClassLocatorpackagePrefix - the package prefix, i.e., "java.io"out - the collection to add the class names
protected void getAllClasses(java.util.Collection out,
ClassNameFilter filter)
getAllClasses in class BaseClassLocatorout - the collection to add the fully-qualified class namesfilter - the class name filter to use
protected void getAllPackages(java.util.Collection out,
PackageNameFilter filter)
getAllPackages in class BaseClassLocatorout - the collection to add the full package namesfilter - the pckage name filter to usepublic java.net.URL getURL(java.lang.String fqClassName)
fqClassName - the fully-qualified class name in dotted notation,
i.e., java.util.Map.Entry.
public java.net.URL getResourceURL(java.lang.String resourceName)
resourceName - the full name of the resource including any file
extensions
|
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.