public class Decrypt extends Application
Please note that you should not use this utility to decrypt an RAES
encrypted ZIP file (usually a file with a ".tzp" or
".zip.rae" suffix) back to a plain ZIP file.
This is because RAES encrypted ZIP files use the "UTF-8"
as their character set, whereas plain ZIP files use "IBM437",
a.k.a. "CP437".
To decrypt an RAES encrypted ZIP file to a plain ZIP file, use the
cp command of the Nzip class instead.
This class knows about the correct character set charsets for the
various flavours of ZIP compatible files.
Application.IllegalUsageException, Application.ProgressMonitor| Modifier and Type | Field and Description |
|---|---|
private static String |
CLASS_NAME |
private static ResourceBundle |
resources |
err, monitor, out| Constructor and Description |
|---|
Decrypt() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Equivalent to
System.exit(new Decrypt().run(args));. |
protected int |
runChecked(String[] args)
Runs this command line utility.
|
setup, sync, workrunprivate static final String CLASS_NAME
private static final ResourceBundle resources
public static void main(String[] args) throws FsSyncException
System.exit(new Decrypt().run(args));.FsSyncExceptionprotected int runChecked(String[] args) throws Application.IllegalUsageException, IOException
ApplicationAvoid repeating this method and updating the same archive file upon each call! This would degrade the overall performance from O(n) to O(m*n), where m is the number of new or modified entries and n is the number of all entries in the archive file!
runChecked in class Applicationargs - an array of arguments for this command line utility.exit status of the VM.Application.IllegalUsageException - on any exception.IOExceptionCopyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.