public class ClassloaderUtil extends Object implements RevisionHandler
Constructor and Description |
---|
ClassloaderUtil() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static void addFile(String s) throws IOException
s
- File nameIOException
- if something goes wrong when adding a filepublic static void addFile(File f) throws IOException
f
- File objectIOException
- if something goes wrong when adding a filepublic static void addURL(URL u) throws IOException
u
- URLIOException
- if something goes wrong when adding a urlpublic String getRevision()
getRevision
in interface RevisionHandler
Copyright © 2019 University of Waikato, Hamilton, NZ. All rights reserved.