com.myjavaworld.zip
Class Unzip

java.lang.Object
  extended by com.myjavaworld.zip.Unzip

public class Unzip
extends Object

Author:
Sai Pullabhotla

Constructor Summary
Unzip(File file)
           
 
Method Summary
 void addProgressListener(ProgressListener l)
           
 void addZipListener(ZipListener l)
           
 void close()
           
protected  void fireBeginFileEvent(File file)
           
protected  void fireEndFileEvent(File file)
           
protected  void fireProgressEvent(int progress)
           
 File getFile()
           
 File getTargetDirectory()
           
 void open()
           
 void removeProgressListener(ProgressListener l)
           
 void removeZipListener(ZipListener l)
           
 void setTargetDirectory(File targetDirectory)
           
 void unzip()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Unzip

public Unzip(File file)
Method Detail

getFile

public File getFile()

setTargetDirectory

public void setTargetDirectory(File targetDirectory)

getTargetDirectory

public File getTargetDirectory()

addZipListener

public void addZipListener(ZipListener l)

removeZipListener

public void removeZipListener(ZipListener l)

addProgressListener

public void addProgressListener(ProgressListener l)

removeProgressListener

public void removeProgressListener(ProgressListener l)

fireBeginFileEvent

protected void fireBeginFileEvent(File file)

fireEndFileEvent

protected void fireEndFileEvent(File file)

fireProgressEvent

protected void fireProgressEvent(int progress)

open

public void open()
          throws ZipException,
                 IOException
Throws:
ZipException
IOException

close

public void close()
           throws IOException
Throws:
IOException

unzip

public void unzip()
           throws IOException
Throws:
IOException


Copyright © 2000-2012 jMethods, Inc.. All Rights Reserved.