|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openejb.util.ClasspathUtils
Constructor Summary | |
ClasspathUtils()
|
Method Summary | |
static void |
addJarsToPath(java.io.File dir,
java.net.URLClassLoader loader)
Appends the jars and zips in the dir to the classpath of the classloader passed in. |
static void |
addJarsToPath(java.lang.String dir,
java.net.URLClassLoader loader)
Appends the jars and zips in the dir to the classpath of the classloader passed in. |
static void |
addJarsToSystemPath(java.io.File dir)
Appends the jars and zips in the dir to the classpath of the classloader passed in. |
static void |
addJarsToSystemPath(java.lang.String dir)
Appends the jars and zips in the dir to the classpath of the classloader passed in. |
static void |
addJarToPath(java.io.File jar,
java.net.URLClassLoader loader)
Appends the jar to the classpath of the classloader passed in. |
static void |
addJarToPath(java.lang.String jar,
java.net.URLClassLoader loader)
Appends the jar to the classpath of the classloader passed in. |
static void |
addJarToPath(java.net.URL jar,
java.net.URLClassLoader loader)
Appends the jar to the classpath of the classloader passed in. |
static void |
addJarToSystemPath(java.io.File jar)
Appends the jar to the classpath of the classloader passed in. |
static void |
addJarToSystemPath(java.lang.String jar)
Appends the jar to the classpath of the classloader passed in. |
static void |
addJarToSystemPath(java.net.URL jar)
Appends the jar to the classpath of the classloader passed in. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public ClasspathUtils()
Method Detail |
public static void addJarsToSystemPath(java.lang.String dir) throws java.lang.Exception
url
- the URL to be added to the search path of URLspublic static void addJarsToSystemPath(java.io.File dir) throws java.lang.Exception
url
- the URL to be added to the search path of URLspublic static void addJarsToPath(java.lang.String dir, java.net.URLClassLoader loader) throws java.lang.Exception
url
- the URL to be added to the search path of URLspublic static void addJarsToPath(java.io.File dir, java.net.URLClassLoader loader) throws java.lang.Exception
url
- the URL to be added to the search path of URLspublic static void addJarToSystemPath(java.lang.String jar) throws java.lang.Exception
url
- the URL to be added to the search path of URLspublic static void addJarToSystemPath(java.io.File jar) throws java.lang.Exception
url
- the URL to be added to the search path of URLspublic static void addJarToSystemPath(java.net.URL jar) throws java.lang.Exception
url
- the URL to be added to the search path of URLspublic static void addJarToPath(java.lang.String jar, java.net.URLClassLoader loader) throws java.lang.Exception
url
- the URL to be added to the search path of URLspublic static void addJarToPath(java.io.File jar, java.net.URLClassLoader loader) throws java.lang.Exception
url
- the URL to be added to the search path of URLspublic static void addJarToPath(java.net.URL jar, java.net.URLClassLoader loader) throws java.lang.Exception
url
- the URL to be added to the search path of URLs
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
|
Copyright © 2002 OpenEJB Group. All Rights Reserved. | http://openejb.sourceforge.net |