de.hattrickorganizer.tools
Class ZipHelper
java.lang.Object
de.hattrickorganizer.tools.ZipHelper
public class ZipHelper
- extends java.lang.Object
Method Summary |
void |
close()
|
boolean |
extractFile(java.lang.String fileToExtract,
java.lang.String destDir)
|
java.io.InputStream |
getFile(java.lang.String fileToExtract)
|
java.util.Enumeration |
getFileList()
|
boolean |
unzip(java.lang.String destDir)
unzip a file |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipHelper
public ZipHelper(java.lang.String filename)
throws java.lang.Exception
- Throws:
java.lang.Exception
ZipHelper
public ZipHelper(java.io.File file)
throws java.lang.Exception
- Throws:
java.lang.Exception
extractFile
public boolean extractFile(java.lang.String fileToExtract,
java.lang.String destDir)
getFile
public java.io.InputStream getFile(java.lang.String fileToExtract)
close
public void close()
unzip
public boolean unzip(java.lang.String destDir)
- unzip a file
- Parameters:
tmpZipFile
- TODO Missing Constructuor Parameter DocumentationdestDir
- TODO Missing Constructuor Parameter Documentation
- Returns:
- TODO Missing Return Method Documentation
getFileList
public java.util.Enumeration getFileList()