|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.deployment.ant.pack200.PackUtils
public class PackUtils
Utility methods for packing and unpacking jar files.
| Constructor Summary | |
|---|---|
PackUtils()
|
|
| Method Summary | |
|---|---|
static void |
pack(File source,
File destination,
Map props,
boolean gzip)
Pack a jar. |
static void |
repack(File source,
File destination,
Map props)
Repack a jar. |
static void |
unpack(File source,
File destination,
Map props)
Unpack a jar. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PackUtils()
| Method Detail |
|---|
public static void pack(File source,
File destination,
Map props,
boolean gzip)
throws IOException
source - the source jardestination - the packed jarprops - the packing propertiesgzip - true if the destination file
IOException
public static void repack(File source,
File destination,
Map props)
throws IOException
source - the source jardestination - the destination jar (may be the same as the source jar)props - the packing properties
IOException
public static void unpack(File source,
File destination,
Map props)
throws IOException
source - the packed jardestination - the unpacked jarprops - the packing properties
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||