java.lang.Object | |
↳ | com.pnfsoftware.jeb.util.encoding.zip.Zips |
Zip compression utility methods.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Zips() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void |
zipBytes(File zipfile, String entryName, byte[] data)
Create or overwrite a zip archive; add the specified entry to that archive.
| ||||||||||
static void |
zipBytes(File zipfile, String entryName, byte[] data, int offset, int length)
Create or overwrite a zip archive; add the specified entry to that archive.
| ||||||||||
static void |
zipFile(File zipfile, File inputFile)
Create or overwrite a zip archive; add the specified input file to that archive.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create or overwrite a zip archive; add the specified entry to that archive.
IOException |
---|
Create or overwrite a zip archive; add the specified entry to that archive.
IOException |
---|
Create or overwrite a zip archive; add the specified input file to that archive. The input file will be added to archive root.
zipfile | zip output file |
---|---|
inputFile | input file |
IOException |
---|