de.hattrickorganizer.prediction
Class ZipHelper
java.lang.Object
de.hattrickorganizer.prediction.ZipHelper
public class ZipHelper
- extends java.lang.Object
Method Summary |
static void |
close()
|
boolean |
extractFile(java.lang.String s,
java.lang.String dir)
|
static java.io.InputStream |
getFile(java.lang.String s)
|
static java.util.Enumeration |
getFileList()
|
boolean |
unzip(java.lang.String toDir)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipHelper
public ZipHelper(java.lang.String zipFilename)
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 final boolean extractFile(java.lang.String s,
java.lang.String dir)
getFile
public static java.io.InputStream getFile(java.lang.String s)
close
public static void close()
unzip
public final boolean unzip(java.lang.String toDir)
getFileList
public static java.util.Enumeration getFileList()