# Class: com.pnfsoftware.jeb.util.encoding.zip.Zips

Zip compression utility methods.

## Constructor: Zips


## Static Method: zipBytes
- parameter: `zipfile`, type: `java.io.File`
- parameter: `entryName`, type: `java.lang.String`
- parameter: `data`, type: `byte[]`

Description: Create or overwrite a zip archive; add the specified entry to that archive.
parameter: zipfile: zip output file
parameter: entryName: entry name inside the archive
parameter: data: entry bytes
throws: if the archive cannot be written

## Static Method: zipBytes
- parameter: `zipfile`, type: `java.io.File`
- parameter: `entryName`, type: `java.lang.String`
- parameter: `data`, type: `byte[]`
- parameter: `offset`, type: `int`
- parameter: `length`, type: `int`

Description: Create or overwrite a zip archive; add the specified entry to that archive.
parameter: zipfile: zip output file
parameter: entryName: entry name inside the archive
parameter: data: source bytes
parameter: offset: first source byte to write
parameter: length: number of bytes to write
throws: if the archive cannot be written

## Static Method: zipFile
- parameter: `zipfile`, type: `java.io.File`
- parameter: `inputFile`, type: `java.io.File`

Description: Create or overwrite a zip archive; add the specified input file to that archive. The input file will be added to archive root.
parameter: zipfile: zip output file
parameter: inputFile: input file
throws: if the archive cannot be written

