|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.folt.util.JarFileLoader
public class JarFileLoader
| Constructor Summary | |
|---|---|
JarFileLoader()
|
|
JarFileLoader(java.lang.String jarName)
Dynamically load a jar file with name jarName |
|
JarFileLoader(java.lang.String[] jarNames)
Dynamically load jar files from a string array |
|
JarFileLoader(java.lang.String jarName,
boolean bIsFile)
Dynamically load jar files given in a file (separated there with ";") |
|
JarFileLoader(java.util.Vector<java.lang.String> jarNames)
Dynamically load jar files from a vector of strings |
|
| Method Summary | |
|---|---|
boolean |
addFile(java.lang.String jarName)
addFile add a jar file incl classes - taken from hhttp://stackoverflow.com/questions/60764/how-should-i-load-jars-dynamically-at-runtime and adapted |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JarFileLoader()
public JarFileLoader(java.lang.String jarName,
boolean bIsFile)
jarName - use the file name to get the list of jar files to add to the system class loaderpublic JarFileLoader(java.lang.String jarName)
jarName - add this jar filepublic JarFileLoader(java.lang.String[] jarNames)
jarNames - add many jar files from String arraypublic JarFileLoader(java.util.Vector<java.lang.String> jarNames)
jarNames - add many jar files from Vector of strings| Method Detail |
|---|
public static void main(java.lang.String[] args)
public boolean addFile(java.lang.String jarName)
throws java.net.MalformedURLException
jarName - the the file to add to the classpath
java.net.MalformedURLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||