|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wamblee.classloading.ClassLoaderUtils
public class ClassLoaderUtils
Utility for adding jars to the system class loader.
| Constructor Summary | |
|---|---|
ClassLoaderUtils()
|
|
| Method Summary | |
|---|---|
static void |
addFile(File aFile)
Adds a file to the classpath. |
static void |
addFile(String aFilename)
Adds a file to the classpath. |
static void |
addJarsInDirectory(File aDirectory)
Adds all jars in the given directory to the class path. |
static void |
addURL(URL aUrl)
Adds a url to the classpath. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassLoaderUtils()
| Method Detail |
|---|
public static void addJarsInDirectory(File aDirectory)
throws IOException
aDirectory - Directory.
IOException
public static void addFile(String aFilename)
throws IOException
aFilename - Filename to add.
IOException
public static void addFile(File aFile)
throws IOException
aFile - File to add.
IOException
public static void addURL(URL aUrl)
throws IOException
aUrl - Url to add.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||