org.objectweb.jonas.web.lib
Class JarTools
java.lang.Object
org.objectweb.jonas.web.lib.JarTools
public final class JarTools
- extends Object
This class provides an implementation of tools methods than permit to unpack
a jar.
- Author:
- Ludovic Bert, Florent Benoit
Method Summary |
static void |
unpack(String fileName,
String destDir)
Unpack the specified jar to the specified directory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
unpack
public static void unpack(String fileName,
String destDir)
throws JWebContainerServiceException
- Unpack the specified jar to the specified directory.
- Parameters:
fileName
- the name of the archive file to unpack.destDir
- the destination directory of the unpacking.
- Throws:
JWebContainerServiceException
- if an error occors during the
unpacking.
Copyright © 2007 OW2 Consortium. All Rights Reserved.