com.ptc.wvs.server.loader
Class Zipper

java.lang.Object
  extended bycom.ptc.wvs.server.loader.Zipper

public class Zipper
extends Object


Field Summary
private  FileOutputStream fileOutputStream
           
private  String zipFile
           
private  String zipFileName
           
private  ZipOutputStream zipOutput
           
 
Constructor Summary
Zipper(String filename)
           
 
Method Summary
 void addToZip(String filename)
           
 void close()
           
static String getFileNameFromPath(String pathFile)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

zipFileName

private String zipFileName

zipFile

private String zipFile

fileOutputStream

private FileOutputStream fileOutputStream

zipOutput

private ZipOutputStream zipOutput
Constructor Detail

Zipper

public Zipper(String filename)
       throws IOException
Method Detail

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)