|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlocal.tomas.util.zip.ZipUtilities
public class ZipUtilities
Zip utilities.
| Method Summary | |
|---|---|
static void |
create(ZipOutputStream zip,
File sourceDir)
Fill zip output stream from all files in source directory. |
static void |
extract(ZipFile zip,
File targetDir)
Extract all files from zip archive. |
static void |
extract(ZipFile zip,
ZipEntry entry,
File target)
Extract file from zip archive. |
static void |
extract(ZipInputStream zip,
File targetDir)
Extract all files from zip input stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void extract(ZipFile zip,
ZipEntry entry,
File target)
throws IOException
zip - zip archiveentry - zip entrytarget - target file
IOException
public static void extract(ZipFile zip,
File targetDir)
throws IOException
zip - zip archivetargetDir - target directory
IOException
public static void extract(ZipInputStream zip,
File targetDir)
throws IOException
zip - zip input streamtargetDir - target directory
IOException
public static void create(ZipOutputStream zip,
File sourceDir)
throws IOException
zip - zip output streamsourceDir - source directory
IOException
|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||