|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaClassLocator2
Extends the JavaClassLocator interface to provide additional
functionality. In particular, provides support for interruption.
| Method Summary | |
|---|---|
void |
buildIndexInterruptibly()
Instructs this class locator to start building its index for locating files. |
java.util.Collection<java.lang.String> |
getAllClassesInterruptibly()
Fetch all of the top-level classes that are known by this locator. |
java.util.Collection<java.lang.String> |
getAllClassesInterruptibly(ClassNameFilter filter)
Fetch all of the top-level classes that are known by this locator that satisfies the given filter. |
java.util.Collection<java.lang.String> |
getAllPackagesInterruptibly()
Fetch all of the full packges that are known by this locator. |
java.util.Collection<java.lang.String> |
getAllPackagesInterruptibly(PackageNameFilter filter)
Fetch all of the packages that are known by this locator that satisfies the given filter. |
java.util.Collection<java.lang.String> |
getClassesByNameInterruptibly(java.lang.String name,
boolean matchCase)
Fetch all of the top-level classes that are known by this locator with the given class name. |
java.util.Collection<java.lang.String> |
getClassesByPrefixInterruptibly(java.lang.String prefix,
boolean matchCase)
Fetch all of the top-level classes that are known by this locator whose given class name starts with the specified prefix. |
java.util.Collection<java.lang.String> |
getClassesInPackageInterruptibly(java.lang.String packagePrefix)
Fetch the top-level classes within the given package prefix. |
java.net.URL |
getClassURLInterruptibly(java.lang.String fqClassName)
Fetch the URL for the JavaFile for the given fully-qualified Java class name. |
java.util.Collection<java.lang.String> |
getPackagesInterruptibly(java.lang.String packagePrefix)
Fetch the list of subpackages within the given package. |
java.net.URL |
getSourceURLInterruptibly(java.lang.String fqClassName)
Fetch the URL for the SourceFile for the given fully-qualified Java class name. |
java.net.URL |
getURLInterruptibly(java.lang.String fqClassName)
Fetch the URL for the JavaFile for the given fully-qualified Java class name. |
| Methods inherited from interface oracle.jdeveloper.java.JavaClassLocator |
|---|
buildIndex, getAllClasses, getAllClasses, getAllPackages, getAllPackages, getClassesByName, getClassesByPrefix, getClassesInPackage, getClassURL, getPackages, getSourceURL, getURL |
| Method Detail |
|---|
void buildIndexInterruptibly()
throws java.lang.InterruptedException
java.lang.InterruptedException - if the build is interrupted
java.util.Collection<java.lang.String> getPackagesInterruptibly(java.lang.String packagePrefix)
throws java.lang.InterruptedException
packagePrefix - the package prefix, i.e., "java.io"
java.lang.InterruptedException - if the operation is interrupted
java.util.Collection<java.lang.String> getClassesInPackageInterruptibly(java.lang.String packagePrefix)
throws java.lang.InterruptedException
packagePrefix - the package prefix, i.e., "java.io"
java.lang.InterruptedException - if the operation is interrupted
java.util.Collection<java.lang.String> getAllClassesInterruptibly()
throws java.lang.InterruptedException
java.lang.InterruptedException - if the operation is interrupted
java.util.Collection<java.lang.String> getAllClassesInterruptibly(ClassNameFilter filter)
throws java.lang.InterruptedException
filter - the class name filter to use for the search
java.lang.InterruptedException - if the operation is interrupted
java.util.Collection<java.lang.String> getAllPackagesInterruptibly()
throws java.lang.InterruptedException
java.lang.InterruptedException - if the operation is interrupted
java.util.Collection<java.lang.String> getAllPackagesInterruptibly(PackageNameFilter filter)
throws java.lang.InterruptedException
filter - the package name filter to use for the search
java.lang.InterruptedException - if the operation is interrupted
java.util.Collection<java.lang.String> getClassesByNameInterruptibly(java.lang.String name,
boolean matchCase)
throws java.lang.InterruptedException
name - the unqualified name of the top-level class to locatematchCase - whether to use case-sensitivity for matching the
class name
java.lang.InterruptedException - if the operation is interrupted
java.util.Collection<java.lang.String> getClassesByPrefixInterruptibly(java.lang.String prefix,
boolean matchCase)
throws java.lang.InterruptedException
prefix - the starting prefix of the class name to locatematchCase - whether to use case-sensitivity for matching the
class name
java.lang.InterruptedException - if the operation is interrupted
java.net.URL getURLInterruptibly(java.lang.String fqClassName)
throws java.lang.InterruptedException
fqClassName - the fully-qualified class name in dotted notation,
i.e., java.util.List
java.lang.InterruptedException - if the operation is interrupted
java.net.URL getSourceURLInterruptibly(java.lang.String fqClassName)
throws java.lang.InterruptedException
fqClassName - the fully-qualified class name in dotted notation
java.lang.InterruptedException - if the operation is interrupted
java.net.URL getClassURLInterruptibly(java.lang.String fqClassName)
throws java.lang.InterruptedException
fqClassName - the fully-qualified class name in dotted notation
java.lang.InterruptedException - if the operation is interrupted
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||