public class ZipUtility
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ZipUtility |
singleton() |
byte[] |
zip(java.util.Map<java.lang.String,java.lang.String> pData)
Take a map and add all of them to a zip file
|
public static ZipUtility singleton()
public byte[] zip(java.util.Map<java.lang.String,java.lang.String> pData) throws java.io.IOException
pData
- Map with the key being the name of the file and a string with the data to writejava.io.IOException