net.lingala.zip4j.util
Class ArchiveMaintainer

java.lang.Object
  extended by net.lingala.zip4j.util.ArchiveMaintainer

public class ArchiveMaintainer
extends Object


Constructor Summary
ArchiveMaintainer()
           
 
Method Summary
 void initProgressMonitorForMergeOp(ZipModel zipModel, ProgressMonitor progressMonitor)
           
 void initProgressMonitorForRemoveOp(ZipModel zipModel, FileHeader fileHeader, ProgressMonitor progressMonitor)
           
 HashMap initRemoveZipFile(ZipModel zipModel, FileHeader fileHeader, ProgressMonitor progressMonitor)
           
 void mergeSplitZipFiles(ZipModel zipModel, File outputZipFile, ProgressMonitor progressMonitor, boolean runInThread)
          Merges split Zip files into a single Zip file
 HashMap removeZipFile(ZipModel zipModel, FileHeader fileHeader, ProgressMonitor progressMonitor, boolean runInThread)
           
 void setComment(ZipModel zipModel, String comment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchiveMaintainer

public ArchiveMaintainer()
Method Detail

removeZipFile

public HashMap removeZipFile(ZipModel zipModel,
                             FileHeader fileHeader,
                             ProgressMonitor progressMonitor,
                             boolean runInThread)
                      throws ZipException
Throws:
ZipException

initRemoveZipFile

public HashMap initRemoveZipFile(ZipModel zipModel,
                                 FileHeader fileHeader,
                                 ProgressMonitor progressMonitor)
                          throws ZipException
Throws:
ZipException

mergeSplitZipFiles

public void mergeSplitZipFiles(ZipModel zipModel,
                               File outputZipFile,
                               ProgressMonitor progressMonitor,
                               boolean runInThread)
                        throws ZipException
Merges split Zip files into a single Zip file

Parameters:
zipModel -
Throws:
ZipException

setComment

public void setComment(ZipModel zipModel,
                       String comment)
                throws ZipException
Throws:
ZipException

initProgressMonitorForRemoveOp

public void initProgressMonitorForRemoveOp(ZipModel zipModel,
                                           FileHeader fileHeader,
                                           ProgressMonitor progressMonitor)
                                    throws ZipException
Throws:
ZipException

initProgressMonitorForMergeOp

public void initProgressMonitorForMergeOp(ZipModel zipModel,
                                          ProgressMonitor progressMonitor)
                                   throws ZipException
Throws:
ZipException


Copyright © 2012. All Rights Reserved.