public class ZipSalvager extends Object
| Constructor and Description |
|---|
ZipSalvager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
salvageCopy(File brokenZip,
File salvagedZip) |
static void |
salvageCopy(InputStream brokenZip,
File salvagedZip)
This streams the broken zip and rebuilds a new zip that
is at least a valid zip file.
|
public static void salvageCopy(InputStream brokenZip, File salvagedZip)
This does nothing fancy to fix the underlying broken zip.
brokenZip - salvagedZip - public static void salvageCopy(File brokenZip, File salvagedZip) throws IOException
IOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved