org.openejb.util
Class JarUtils

java.lang.Object
  extended by org.openejb.util.JarUtils

public class JarUtils
extends java.lang.Object

Author:
Alan Cabrera, David Blevins

Constructor Summary
JarUtils()
           
 
Method Summary
static void addFileToJar(java.lang.String jarFile, java.lang.String file)
           
static java.lang.ClassLoader getContextClassLoader()
           
static java.io.File getJarContaining(java.lang.String path)
           
static java.util.jar.JarFile getJarFile(java.lang.String jarFile)
           
static void setHandlerSystemProperty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarUtils

public JarUtils()
Method Detail

setHandlerSystemProperty

public static void setHandlerSystemProperty()

getJarContaining

public static java.io.File getJarContaining(java.lang.String path)
                                     throws OpenEJBException
Throws:
OpenEJBException

addFileToJar

public static void addFileToJar(java.lang.String jarFile,
                                java.lang.String file)
                         throws OpenEJBException
Throws:
OpenEJBException

getJarFile

public static java.util.jar.JarFile getJarFile(java.lang.String jarFile)
                                        throws OpenEJBException
Throws:
OpenEJBException

getContextClassLoader

public static java.lang.ClassLoader getContextClassLoader()


Copyright © 1999-2011 OpenEJB. All Rights Reserved.