public class JarLoader extends Object
Modifier and Type | Field and Description |
---|---|
private static CasaLispOperator |
LOAD_JAR |
private static Vector<String> |
loadedJars |
private static Class<?>[] |
parameters
Parameters of the method to add an URL to the System classes.
|
Constructor and Description |
---|
JarLoader() |
Modifier and Type | Method and Description |
---|---|
static String |
addFile(File f)
Adds a file to the classpath.
|
static String |
addFile(String s)
Adds a file to the classpath.
|
static String |
addURL(URL u)
Adds the content pointed by the URL to the classpath.
|
static Vector<String> |
getLoadedJars() |
static String |
getLoadedJarsAsString() |
private static final Class<?>[] parameters
private static final CasaLispOperator LOAD_JAR
public static String getLoadedJarsAsString()
public static String addFile(String s) throws IOException
s
- a String pointing to the fileIOException
public static String addFile(File f) throws IOException
f
- the file to be addedIOException
public static String addURL(URL u) throws IOException
u
- the URL pointing to the content to be addedIOException