|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.util.Launcher
public class Launcher
This class launches a jCOLIBRI application loading dinamically its libraries. It has a method that parses the ".classpath" file of the eclipse project to find the libraries that a project needs. Then it loads the libraries and executes an application. This eases the process of invoking a jCOLIBRI application.
Constructor Summary | |
---|---|
Launcher()
|
Method Summary | |
---|---|
static void |
addURLtoClassLoader(java.net.URL u)
Loads a resource pointed by a URL into the Class Loader. |
protected static java.net.URL[] |
getClassPath(java.lang.String classpathfile)
Parses a eclipse classpath file returning a list of URLs to the libraries in that file. |
static void |
main(java.lang.String[] args)
Main method used to launch any application loading the libraries from a eclipse classpath file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Launcher()
Method Detail |
---|
public static void main(java.lang.String[] args)
public static void addURLtoClassLoader(java.net.URL u) throws java.io.IOException
java.io.IOException
protected static java.net.URL[] getClassPath(java.lang.String classpathfile) throws java.lang.Exception
java.lang.Exception
|
GAIA - Group for Artificial Intelligence Applications http://gaia.fdi.ucm.es |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |