|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorca.util.ChangeClasspath
public class ChangeClasspath
Utility class to elements to the classpath at runtime.
| Constructor Summary | |
|---|---|
ChangeClasspath()
|
|
| Method Summary | |
|---|---|
static void |
addFile(java.lang.ClassLoader loader,
java.io.File file)
Adds a path to the specified class loader. |
static void |
addFile(java.io.File file)
Adds a path the current class loader. |
static void |
addFile(java.lang.String path)
Adds a path to the current class loader. |
static void |
addURL(java.lang.ClassLoader loader,
java.net.URL url)
Adds a URL to the given class loader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChangeClasspath()
| Method Detail |
|---|
public static void addFile(java.lang.String path)
throws java.lang.Exception
path - path to add
java.lang.Exception
public static void addFile(java.lang.ClassLoader loader,
java.io.File file)
throws java.lang.Exception
loader - class loader to add the path tofile - file representing the path
java.lang.Exception
public static void addFile(java.io.File file)
throws java.lang.Exception
file - file representing the path
java.lang.Exception
public static void addURL(java.lang.ClassLoader loader,
java.net.URL url)
throws java.lang.Exception
loader - class loaderurl - url to add
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||