anon.util
Class ZipArchiver
java.lang.Object
java.util.Observable
anon.util.ZipArchiver
public class ZipArchiver
- extends java.util.Observable
Field Summary |
private java.util.zip.ZipFile |
m_archive
|
Constructor Summary |
ZipArchiver(java.util.zip.ZipFile archive)
|
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_archive
private java.util.zip.ZipFile m_archive
ZipArchiver
public ZipArchiver(java.util.zip.ZipFile archive)
extractSingleEntry
public boolean extractSingleEntry(java.lang.String entryName,
java.lang.String destinationName)
extractArchive
public boolean extractArchive(java.lang.String a_archivePathName,
java.lang.String destination)
notifyAboutChanges
private void notifyAboutChanges(long sizeOfCopied,
long totalSize,
int progressStatus)
notifyAboutChangesInterruptable
private void notifyAboutChangesInterruptable(long sizeOfCopied,
long totalSize,
int progressStatus)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
extractErrorRollback
private static void extractErrorRollback(java.util.Vector entries,
java.lang.String destination)