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