|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.util.JarUtils
public final class JarUtils
Some utility classes for manipulating JAR files.
Constructor Summary | |
---|---|
JarUtils()
|
Method Summary | |
---|---|
protected void |
createJarFromDirectory(java.io.File root,
java.io.File directory,
java.util.jar.JarOutputStream jarStream)
Create a jar file from a particular directory. |
java.io.File |
createJarFromDirectory(java.lang.String directory,
java.io.File outputJar)
Create a JAR file from a directory, recursing through children. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JarUtils()
Method Detail |
---|
protected void createJarFromDirectory(java.io.File root, java.io.File directory, java.util.jar.JarOutputStream jarStream) throws java.io.IOException
root
- in the root directorydirectory
- in the directory we are addingjarStream
- the jar stream to be added to
java.io.IOException
- on IOExceptionpublic java.io.File createJarFromDirectory(java.lang.String directory, java.io.File outputJar) throws java.io.IOException
directory
- in directory sourceoutputJar
- in file to output the jar data to
java.io.IOException
- when there is an I/O exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |