|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.cagrid.introduce.extension.utils.ExtensionUtilities
public class ExtensionUtilities
ExtensionUtilities Some generic utilities to make extensions easier
| Field Summary | |
|---|---|
static java.lang.String |
CLASSPATHENTRY_ELEMENT
|
| Constructor Summary | |
|---|---|
ExtensionUtilities()
|
|
| Method Summary | |
|---|---|
static java.io.File[] |
getLibrariesFromEclipseClasspath(java.io.File classpathFile)
Gets the libraries from an eclipse .classpath file |
static void |
removeLibrariesFromClasspath(java.io.File classpathFile,
java.io.File[] removeLibs)
Removes library entries from an Eclipse .classpath file Libraries to be removed may be fully qualified paths, and will first be made relative to the .classpath file before removal is attempted. |
static void |
resyncWithLibDir(java.io.File classpathFile)
Resynchronizes a classpath file's entries with the contents of the lib dir. |
static void |
syncEclipseClasspath(java.io.File classpathFile,
java.io.File[] additionalLibs)
Adds libraries to an eclipse .classpath file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASSPATHENTRY_ELEMENT
| Constructor Detail |
|---|
public ExtensionUtilities()
| Method Detail |
|---|
public static void syncEclipseClasspath(java.io.File classpathFile,
java.io.File[] additionalLibs)
throws java.lang.Exception
classpathFile - The .classpath fileadditionalLibs - The libraries (jars) to add to the .classpath. The jars will be added
with paths relative to the .classpath file's location
java.lang.Exception
public static java.io.File[] getLibrariesFromEclipseClasspath(java.io.File classpathFile)
throws java.lang.Exception
classpathFile -
java.lang.Exception
public static void removeLibrariesFromClasspath(java.io.File classpathFile,
java.io.File[] removeLibs)
throws java.lang.Exception
classpathFile - removeLibs -
java.lang.Exception
public static void resyncWithLibDir(java.io.File classpathFile)
throws java.lang.Exception
classpathFile -
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||