Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jsd.ftp.jar
Class JarAllExtractor  view JarAllExtractor download JarAllExtractor.java

java.lang.Object
  extended byjsd.ftp.jar.JarExtractor
      extended byjsd.ftp.jar.JarAllExtractor
All Implemented Interfaces:
java.lang.Runnable

public class JarAllExtractor
extends JarExtractor

This is JAR file extractor class. It extracts the JAR file in a separate thread. Where we are passing a MyJarObserver object to track the current status of this decompression.


Field Summary
 
Fields inherited from class jsd.ftp.jar.JarExtractor
mbIsPauseRequest, mbIsStopRequest, mDir, mJarFile, mObserverCont
 
Constructor Summary
JarAllExtractor(java.io.File jarFile, java.io.File dir)
           
 
Method Summary
 void extract()
          invoke a new thread and start decompression
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 
Methods inherited from class jsd.ftp.jar.JarExtractor
addObserver, extract, extract, isPaused, isStopped, pause, removeObserver, resume, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JarAllExtractor

public JarAllExtractor(java.io.File jarFile,
                       java.io.File dir)
Method Detail

extract

public void extract()
invoke a new thread and start decompression

Specified by:
extract in class JarExtractor

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.