com.ptc.wvs.server.loader
Class Zipper
java.lang.Object
com.ptc.wvs.server.loader.Zipper
- public class Zipper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
zipFileName
private String zipFileName
zipFile
private String zipFile
fileOutputStream
private FileOutputStream fileOutputStream
zipOutput
private ZipOutputStream zipOutput
Zipper
public Zipper(String filename)
throws IOException
addToZip
public void addToZip(String filename)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
getFileNameFromPath
public static String getFileNameFromPath(String pathFile)