public class ClassloaderUtil extends java.lang.Object implements RevisionHandler
Constructor and Description |
---|
ClassloaderUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addFile(java.io.File f)
Add file to CLASSPATH
|
static void |
addFile(java.lang.String s)
Add file to CLASSPATH
|
static void |
addURL(java.net.URL u)
Add URL to CLASSPATH
|
java.lang.String |
getRevision()
Returns the revision string.
|
public static void addFile(java.lang.String s) throws java.io.IOException
s
- File namejava.io.IOException
- if something goes wrong when adding a filepublic static void addFile(java.io.File f) throws java.io.IOException
f
- File objectjava.io.IOException
- if something goes wrong when adding a filepublic static void addURL(java.net.URL u) throws java.io.IOException
u
- URLjava.io.IOException
- if something goes wrong when adding a urlpublic java.lang.String getRevision()
getRevision
in interface RevisionHandler