Class ZipUtility

java.lang.Object
flexagon.fd.core.utils.ZipUtility

public class ZipUtility extends Object
  • Method Details

    • singleton

      public static ZipUtility singleton()
    • zip

      public byte[] zip(Map<String,String> pData) throws IOException
      Take a map and add all of them to a zip file
      Parameters:
      pData - Map with the key being the name of the file and a string with the data to write
      Returns:
      bytes of a zip file of all the files given
      Throws:
      IOException