com.ptc.epm.commands.util
Class ZipFileHelper
java.lang.Object
com.ptc.epm.commands.util.ZipFileHelper
- public class ZipFileHelper
- extends Object
Field Summary |
private static int |
BUF_SIZE
|
(package private) static boolean |
SERVER
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVER
static final boolean SERVER
BUF_SIZE
private static final int BUF_SIZE
- See Also:
- Constant Field Values
ZipFileHelper
public ZipFileHelper()
unZipFile
public static String unZipFile(File zip_file,
String fileName,
boolean is_flat_dir)
throws WTException
- Throws:
WTException
uncompressFile
public static void uncompressFile(BufferedInputStream zipStream,
String fileName,
boolean is_flat_dir)
throws IOException
- Throws:
IOException
uncompressFileFlat
public static void uncompressFileFlat(BufferedInputStream zipStream,
String fileName)
throws IOException
- Throws:
IOException