Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.jdeveloper.file
Class JavaProjectCache

java.lang.Object
  extended by oracle.ide.file.ProjectCache
      extended by oracle.jdeveloper.file.JavaProjectCache


public class JavaProjectCache
extends ProjectCache

Caches Java properties associated with a project.

Since:
11.1.2

Constructor Summary
protected JavaProjectCache(Workspace workspace)
           

 

Method Summary
 Path getAdditionalClassPath(Project project)
          Get the additional class path for a project.
 java.util.List<LibraryPaths> getExportLibraryPaths(Project project)
          Get the library paths for export libraries of a project.
static JavaProjectCache getInstance(Workspace workspace)
          Get an instance of the cache for an application workspace.
 Path getJavaContentPath(Project project)
          Get the path for Java source content.
 LibraryPaths getJdkPaths(Project project)
          Get the JDK paths for a project.
 java.util.List<LibraryPaths> getLibraryPaths(Project project)
          Get the library paths for all libraries used by a project.

 

Methods inherited from class oracle.ide.file.ProjectCache
close, getContentPath, getContentPath, getDirectDependencies, getDownstreamDependencies, getLibraryPaths, getLibraryPathsList, getLogger, getPath, getTechnologyScopeKeys, getTransitiveDependencies, invalidate, invalidate, invalidate, invalidateLibraries, loadProject, putLibraryPaths, putLibraryPathsList, putPath

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

JavaProjectCache

protected JavaProjectCache(Workspace workspace)

Method Detail

getInstance

public static JavaProjectCache getInstance(Workspace workspace)
Get an instance of the cache for an application workspace. The caller is responsible for calling ProjectCache.close() on the cache instance when the cache is no longer in use.
Parameters:
workspace - the application workspace
Returns:
the cache

getJavaContentPath

public Path getJavaContentPath(Project project)
Get the path for Java source content.
Parameters:
project - the project
Returns:
the Java content path
See Also:
PathsConfiguration.getJavaContentSet()

getAdditionalClassPath

public Path getAdditionalClassPath(Project project)
Get the additional class path for a project.
Parameters:
project - the project
Returns:
the additional class path
See Also:
JProjectPaths.getAdditionalClassPath()

getJdkPaths

public LibraryPaths getJdkPaths(Project project)
Get the JDK paths for a project.
Parameters:
project - the project
Returns:
the JDK paths
See Also:
JProjectLibraries.getJDK()

getLibraryPaths

public java.util.List<LibraryPaths> getLibraryPaths(Project project)
Get the library paths for all libraries used by a project.
Parameters:
project - the project
Returns:
the library paths
See Also:
JProjectLibraries.getLibraries()

getExportLibraryPaths

public java.util.List<LibraryPaths> getExportLibraryPaths(Project project)
Get the library paths for export libraries of a project.
Parameters:
project - the project
Returns:
the export library path
See Also:
JProjectLibraries.getExports()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


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