public class ZipBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ZipBuilder.AddContentToZip |
class |
ZipBuilder.AddFileToZip |
Modifier | Constructor and Description |
---|---|
protected |
ZipBuilder() |
protected |
ZipBuilder(java.io.File zipFile) |
Modifier and Type | Method and Description |
---|---|
ZipBuilder.AddContentToZip |
add(byte[] content) |
ZipBuilder.AddFileToZip |
add(java.io.File source) |
ZipBuilder.AddContentToZip |
add(java.lang.String content) |
ZipBuilder |
addFolder(java.lang.String folderName) |
static ZipBuilder |
createZipFile(java.io.File zipFile) |
static ZipBuilder |
createZipFile(java.lang.String zipFile) |
static ZipBuilder |
createZipInMemory() |
byte[] |
toBytes() |
java.io.File |
toZipFile() |
protected ZipBuilder(java.io.File zipFile) throws java.io.IOException
java.io.IOException
protected ZipBuilder()
public static ZipBuilder createZipFile(java.io.File zipFile) throws java.io.IOException
java.io.IOException
public static ZipBuilder createZipFile(java.lang.String zipFile) throws java.io.IOException
java.io.IOException
public static ZipBuilder createZipInMemory()
public java.io.File toZipFile()
public byte[] toBytes()
public ZipBuilder.AddFileToZip add(java.io.File source)
public ZipBuilder.AddContentToZip add(java.lang.String content)
public ZipBuilder.AddContentToZip add(byte[] content)
public ZipBuilder addFolder(java.lang.String folderName) throws java.io.IOException
java.io.IOException
Copyright © 2003-present Jodd Team