public class ZipArchiver
extends java.util.Observable
Modifier and Type | Class and Description |
---|---|
class |
ZipArchiver.ZipEvent |
Modifier and Type | Field and Description |
---|---|
private java.util.zip.ZipFile |
m_archive |
Constructor and Description |
---|
ZipArchiver(java.util.zip.ZipFile archive) |
Modifier and Type | Method and Description |
---|---|
int |
applyDiff(java.io.File fileNewJAR,
byte[] diffJAR) |
boolean |
extractArchive(java.lang.String a_archivePathName,
java.lang.String destination) |
private static void |
extractErrorRollback(java.util.Vector entries,
java.lang.String destination) |
boolean |
extractSingleEntry(java.lang.String entryName,
java.lang.String destinationName) |
private void |
notifyAboutChanges(long sizeOfCopied,
long totalSize,
int progressStatus) |
private void |
notifyAboutChangesInterruptable(long sizeOfCopied,
long totalSize,
int progressStatus) |
public int applyDiff(java.io.File fileNewJAR, byte[] diffJAR)
public boolean extractSingleEntry(java.lang.String entryName, java.lang.String destinationName)
public boolean extractArchive(java.lang.String a_archivePathName, java.lang.String destination)
private void notifyAboutChanges(long sizeOfCopied, long totalSize, int progressStatus)
private void notifyAboutChangesInterruptable(long sizeOfCopied, long totalSize, int progressStatus) throws java.lang.InterruptedException
java.lang.InterruptedException
private static void extractErrorRollback(java.util.Vector entries, java.lang.String destination)
Copyright © 2023. All rights reserved.