|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.util.JarUtils
public final class JarUtils
Jar Utility class.
| Method Summary | |
|---|---|
static void |
createJarArchive(File baseDir,
File archive)
Creates a jar archive from the directory. |
static void |
extractJarArchive(File baseDir,
File archive)
Extract a jar archive into the base directory baseDir. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void extractJarArchive(File baseDir,
File archive)
throws IOException
baseDir.
baseDir - the root directory where the archive is extracted
to.archive - jar file.
IOException - in case of an I/O error.
public static void createJarArchive(File baseDir,
File archive)
throws IOException
baseDir - for the jar archive.archive - the jar file.
IOException - in case of an I/O error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||