| 
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 | |||||||||
java.lang.Objectoracle.jdeveloper.model.JProjectUtil
public final class JProjectUtil
| Method Summary | |
|---|---|
static void | 
addLibraries(Project proj,
             java.lang.Object[] libraries)
Adds the specified libraries to a project, and fires PropertyChangeEvents if the project's classpath, sourcepath, or docpath changed.  | 
static void | 
execturePathChange(Project project,
                   java.lang.Runnable runnable)
Deprecated. Use project.applyBatchChanges Executes a runnable and sends property path changed events. Example Usage: 
  Runnable changePathRunnable = new Runnable()
  {
    project.addLibrary(...);
    project.setOutputDirectory(...);
  };
  JProjectUtil.execturePathChange(changePathRunnable);
  | 
static java.lang.String | 
getLibraryNameFromPath(java.net.URL path)
Get the library name given the URL path.  | 
static java.net.URL | 
getProjectBasePath(Project project)
Retrieves the URL that denotes the base path that should be used when creating new source files.  | 
static void | 
removeLibraries(Project proj,
                java.lang.Object[] libraries)
Removes the specified libraries from a project, and fires PropertyChangeEvents if the project's classpath, sourcepath, or docpath changed.  | 
static void | 
setOutputDirectory(Project project,
                   java.net.URL outputDirectory)
Sets the location for a project's generated class files.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static java.net.URL getProjectBasePath(Project project)
project - the project whose base path is required.
public static void addLibraries(Project proj,
                                java.lang.Object[] libraries)
public static void removeLibraries(Project proj,
                                   java.lang.Object[] libraries)
public static void setOutputDirectory(Project project,
                                      java.net.URL outputDirectory)
project - the projectoutputDirectory - the output path URL
public static void execturePathChange(Project project,
                                      java.lang.Runnable runnable)
  Runnable changePathRunnable = new Runnable()
  {
    project.addLibrary(...);
    project.setOutputDirectory(...);
  };
  JProjectUtil.execturePathChange(changePathRunnable);
 
public static java.lang.String getLibraryNameFromPath(java.net.URL path)
path - The URL path
  | 
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 | |||||||||