|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.core.ClassloaderUtil
public class ClassloaderUtil
Utility class that can add jar files to the classpath dynamically.
| Constructor Summary | |
|---|---|
ClassloaderUtil()
|
|
| Method Summary | |
|---|---|
static void |
addFile(File f)
Add file to CLASSPATH |
static void |
addFile(String s)
Add file to CLASSPATH |
static void |
addURL(URL u)
Add URL to CLASSPATH |
String |
getRevision()
Returns the revision string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassloaderUtil()
| Method Detail |
|---|
public static void addFile(String s)
throws IOException
s - File name
IOException - if something goes wrong when adding a file
public static void addFile(File f)
throws IOException
f - File object
IOException - if something goes wrong when adding a file
public static void addURL(URL u)
throws IOException
u - URL
IOException - if something goes wrong when adding a urlpublic String getRevision()
getRevision in interface RevisionHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||