gov.nih.nci.caarray.services.util.file
Class FilePacker

java.lang.Object
  extended by gov.nih.nci.caarray.services.util.file.FilePacker

public class FilePacker
extends java.lang.Object

Author:
zhoujim, smatyas This class is used to create a zip archive with the name "ALL_" + fileType + ".zip". It is primarly used as a helper/utility class for updating the file for the batch download of experiment hybridization data

Constructor Summary
FilePacker()
           
 
Method Summary
 boolean packFiles(java.lang.String[] needToPackFiles, java.lang.String path, java.lang.String fileType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilePacker

public FilePacker()
Method Detail

packFiles

public boolean packFiles(java.lang.String[] needToPackFiles,
                         java.lang.String path,
                         java.lang.String fileType)
Parameters:
needToPackFiles - list of file names to include in the packed zip
path - base directory of where the
fileType - a substring for the filename of the form: "ALL_" + fileType.toUpperCase() + ".zip"