Package | Description |
---|---|
net.lingala.zip4j | |
net.lingala.zip4j.headers | |
net.lingala.zip4j.io.outputstream | |
net.lingala.zip4j.model | |
net.lingala.zip4j.tasks |
Modifier and Type | Method and Description |
---|---|
void |
ZipFile.addFile(File fileToAdd,
ZipParameters parameters)
Adds input source file to the zip file.
|
void |
ZipFile.addFile(String fileToAdd,
ZipParameters zipParameters)
Adds input source file to the zip file with provided zip parameters.
|
void |
ZipFile.addFiles(List<File> filesToAdd,
ZipParameters parameters)
Adds the list of input files to the zip file.
|
void |
ZipFile.addFolder(File folderToAdd,
ZipParameters zipParameters)
Adds the folder in the given file object to the zip file.
|
void |
ZipFile.addStream(InputStream inputStream,
ZipParameters parameters)
Creates a new entry in the zip file and adds the content of the input stream to the
zip file.
|
void |
ZipFile.createSplitZipFile(List<File> filesToAdd,
ZipParameters parameters,
boolean splitArchive,
long splitLength)
Creates a zip file and adds the list of source file(s) to the zip file.
|
void |
ZipFile.createSplitZipFileFromFolder(File folderToAdd,
ZipParameters parameters,
boolean splitArchive,
long splitLength)
Creates a zip file and adds the files/folders from the specified folder to the zip file.
|
Modifier and Type | Method and Description |
---|---|
FileHeader |
FileHeaderFactory.generateFileHeader(ZipParameters zipParameters,
boolean isSplitZip,
int currentDiskNumberStart,
Charset charset) |
Modifier and Type | Method and Description |
---|---|
void |
ZipOutputStream.putNextEntry(ZipParameters zipParameters) |
Constructor and Description |
---|
ZipParameters(ZipParameters zipParameters) |
Constructor and Description |
---|
AddFilesToZipTaskParameters(List<File> filesToAdd,
ZipParameters zipParameters,
Charset charset) |
AddFolderToZipTaskParameters(File folderToAdd,
ZipParameters zipParameters,
Charset charset) |
AddStreamToZipTaskParameters(InputStream inputStream,
ZipParameters zipParameters,
Charset charset) |
Copyright © 2020. All rights reserved.