Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.jdeveloper.java.locator
Class JdevPathClassLocator

java.lang.Object
  extended by oracle.jdeveloper.java.locator.BaseClassLocator
      extended by oracle.jdeveloper.java.locator.PathClassLocator
          extended by oracle.jdeveloper.java.locator.JdevPathClassLocator
All Implemented Interfaces:
JavaClassLocator, JavaClassLocator2, JavaResourceLocator

public class JdevPathClassLocator
extends PathClassLocator


Field Summary
 
Fields inherited from class oracle.jdeveloper.java.locator.BaseClassLocator
EMPTY_COLLECTION, EMPTY_LOCATOR, EMPTY_STRING_ARRAY
 
Method Summary
protected static JdevPathClassLocator getInstance(URLPath sourcePath, URLPath classPath)
          Get a JdevPathClassLocator instance.
protected static JdevPathClassLocator getInstanceInterruptibly(URLPath sourcePath, URLPath classPath)
          Get a JdevPathClassLocator instance.
protected  long getSourceTimestamp(java.net.URL sourceURL)
          Gets the timestamp for the given source file url.
 
Methods inherited from class oracle.jdeveloper.java.locator.PathClassLocator
buildIndex, buildIndexInterruptibly, getAllClasses, getAllClassesInterruptibly, getAllPackages, getAllPackagesInterruptibly, getClassesInPackage, getClassesInPackageInterruptibly, getClassTimestamp, getClassURL, getClassURLInterruptibly, getPackages, getPackagesInterruptibly, getResourceURL, getSourceURL, getSourceURLInterruptibly, getURL, getURLInterruptibly
 
Methods inherited from class oracle.jdeveloper.java.locator.BaseClassLocator
addToCollection, buildFQName, checkInterrupt, ensureValid, getAllClasses, getAllClasses, getAllClassesInterruptibly, getAllClassesInterruptibly, getAllPackages, getAllPackages, getAllPackagesInterruptibly, getAllPackagesInterruptibly, getClassesByName, getClassesByNameInterruptibly, getClassesByPrefix, getClassesByPrefixInterruptibly, getClassesInPackage, getClassesInPackageInterruptibly, getNameCascades, getNameParts, getPackages, getPackagesInterruptibly, getResourceURLs, getStringArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

protected static JdevPathClassLocator getInstance(URLPath sourcePath,
                                                  URLPath classPath)
Get a JdevPathClassLocator instance.

Parameters:
sourcePath - the source path
classPath - the class path
Returns:
the instance

getInstanceInterruptibly

protected static JdevPathClassLocator getInstanceInterruptibly(URLPath sourcePath,
                                                               URLPath classPath)
                                                        throws java.lang.InterruptedException
Get a JdevPathClassLocator instance.

Parameters:
sourcePath - the source path
classPath - the class path
Returns:
the instance
Throws:
java.lang.InterruptedException - if the calling thread is interrupted during creation of the locator

getSourceTimestamp

protected long getSourceTimestamp(java.net.URL sourceURL)
Description copied from class: PathClassLocator
Gets the timestamp for the given source file url.

Overrides:
getSourceTimestamp in class PathClassLocator

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.