jsd.ftp.jar
Class JarSelectiveExtractor

java.lang.Object
jsd.ftp.jar.JarExtractor
jsd.ftp.jar.JarSelectiveExtractor
- All Implemented Interfaces:
- java.lang.Runnable
- public class JarSelectiveExtractor
- 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.
|
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. |
java.lang.String |
toString()
get jar file name |
mEntry
private java.util.zip.ZipEntry[] mEntry
JarSelectiveExtractor
public JarSelectiveExtractor(java.util.zip.ZipEntry[] entry,
java.io.File jarFile,
java.io.File dir)
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.
toString
public java.lang.String toString()
- get jar file name
- Overrides:
toString in class JarExtractor