com.huguesjohnson
Class ZipCompressor

java.lang.Object
  |
  +--com.huguesjohnson.ZipCompressor

public class ZipCompressor
extends java.lang.Object

Class ZipCompressor, very basic class to create a .zip archive.


Constructor Summary
ZipCompressor(java.lang.String[] fileNames, java.lang.String destinationFile)
          Constructor creates a zip archive containing a number of files.
 
Method Summary
 java.lang.String toString()
          returns a String representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZipCompressor

public ZipCompressor(java.lang.String[] fileNames,
                     java.lang.String destinationFile)
Constructor creates a zip archive containing a number of files. Highest compression level is used.
Parameters:
fileNames - an array of all files to include in archive
destinationFile - the destination archive
Method Detail

toString

public java.lang.String toString()
returns a String representation of this object
Overrides:
toString in class java.lang.Object
Returns:
String representation of this object