Modifier and Type | Class and Description |
---|---|
static interface |
ZipUtils.ZipEntryFilter |
Modifier and Type | Method and Description |
---|---|
static File |
unzip(File zip,
File toDir)
Unzip a file into a directory.
|
static File |
unzip(File zip,
File toDir,
ZipUtils.ZipEntryFilter filter) |
static File |
unzip(InputStream zip,
File toDir) |
static File |
unzip(InputStream stream,
File toDir,
ZipUtils.ZipEntryFilter filter) |
static void |
zipDir(File dir,
File zip) |
public static File unzip(File zip, File toDir) throws IOException
IOException
public static File unzip(InputStream zip, File toDir) throws IOException
IOException
public static File unzip(InputStream stream, File toDir, ZipUtils.ZipEntryFilter filter) throws IOException
IOException
public static File unzip(File zip, File toDir, ZipUtils.ZipEntryFilter filter) throws IOException
IOException
public static void zipDir(File dir, File zip) throws IOException
IOException
Copyright © 2009–2017 SonarSource. All rights reserved.