Uses of Class
net.lingala.zip4j.model.ZipParameters
-
Packages that use ZipParameters Package Description net.lingala.zip4j net.lingala.zip4j.headers net.lingala.zip4j.io.outputstream net.lingala.zip4j.model net.lingala.zip4j.tasks net.lingala.zip4j.util -
-
Uses of ZipParameters in net.lingala.zip4j
Methods in net.lingala.zip4j with parameters of type ZipParameters Modifier and Type Method Description void
ZipFile. addFile(java.io.File fileToAdd, ZipParameters parameters)
Adds input source file to the zip file.void
ZipFile. addFile(java.lang.String fileToAdd, ZipParameters zipParameters)
Adds input source file to the zip file with provided zip parameters.void
ZipFile. addFiles(java.util.List<java.io.File> filesToAdd, ZipParameters parameters)
Adds the list of input files to the zip file.void
ZipFile. addFolder(java.io.File folderToAdd, ZipParameters zipParameters)
Adds the folder in the given file object to the zip file.private void
ZipFile. addFolder(java.io.File folderToAdd, ZipParameters zipParameters, boolean checkSplitArchive)
Internal method to add a folder to the zip file.void
ZipFile. addStream(java.io.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(java.util.List<java.io.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(java.io.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. -
Uses of ZipParameters in net.lingala.zip4j.headers
Methods in net.lingala.zip4j.headers with parameters of type ZipParameters Modifier and Type Method Description private byte[]
FileHeaderFactory. determineGeneralPurposeBitFlag(boolean isEncrypted, ZipParameters zipParameters, java.nio.charset.Charset charset)
private AESExtraDataRecord
FileHeaderFactory. generateAESExtraDataRecord(ZipParameters parameters)
FileHeader
FileHeaderFactory. generateFileHeader(ZipParameters zipParameters, boolean isSplitZip, int currentDiskNumberStart, java.nio.charset.Charset charset, RawIO rawIO)
private byte
FileHeaderFactory. generateFirstGeneralPurposeByte(boolean isEncrypted, ZipParameters zipParameters)
-
Uses of ZipParameters in net.lingala.zip4j.io.outputstream
Methods in net.lingala.zip4j.io.outputstream that return ZipParameters Modifier and Type Method Description private ZipParameters
ZipOutputStream. cloneAndPrepareZipParameters(ZipParameters zipParameters)
Methods in net.lingala.zip4j.io.outputstream with parameters of type ZipParameters Modifier and Type Method Description private ZipParameters
ZipOutputStream. cloneAndPrepareZipParameters(ZipParameters zipParameters)
private long
ZipStandardCipherOutputStream. getEncryptionKey(ZipParameters zipParameters)
private void
ZipOutputStream. initializeAndWriteFileHeader(ZipParameters zipParameters)
private CipherOutputStream<?>
ZipOutputStream. initializeCipherOutputStream(ZipEntryOutputStream zipEntryOutputStream, ZipParameters zipParameters)
private CompressedOutputStream
ZipOutputStream. initializeCompressedOutputStream(CipherOutputStream<?> cipherOutputStream, ZipParameters zipParameters)
private CompressedOutputStream
ZipOutputStream. initializeCompressedOutputStream(ZipParameters zipParameters)
protected AESEncrypter
AesCipherOutputStream. initializeEncrypter(java.io.OutputStream outputStream, ZipParameters zipParameters, char[] password, boolean useUtf8ForPassword)
protected abstract T
CipherOutputStream. initializeEncrypter(java.io.OutputStream outputStream, ZipParameters zipParameters, char[] password, boolean useUtf8ForPassword)
protected NoCipherOutputStream.NoEncrypter
NoCipherOutputStream. initializeEncrypter(java.io.OutputStream outputStream, ZipParameters zipParameters, char[] password, boolean useUtf8ForPassword)
protected StandardEncrypter
ZipStandardCipherOutputStream. initializeEncrypter(java.io.OutputStream outputStream, ZipParameters zipParameters, char[] password, boolean useUtf8ForPassword)
void
ZipOutputStream. putNextEntry(ZipParameters zipParameters)
private void
ZipOutputStream. verifyZipParameters(ZipParameters zipParameters)
Constructors in net.lingala.zip4j.io.outputstream with parameters of type ZipParameters Constructor Description AesCipherOutputStream(ZipEntryOutputStream outputStream, ZipParameters zipParameters, char[] password, boolean useUtf8ForPassword)
CipherOutputStream(ZipEntryOutputStream zipEntryOutputStream, ZipParameters zipParameters, char[] password, boolean useUtf8ForPassword)
NoCipherOutputStream(ZipEntryOutputStream zipEntryOutputStream, ZipParameters zipParameters, char[] password)
ZipStandardCipherOutputStream(ZipEntryOutputStream outputStream, ZipParameters zipParameters, char[] password, boolean useUtf8ForPassword)
-
Uses of ZipParameters in net.lingala.zip4j.model
Constructors in net.lingala.zip4j.model with parameters of type ZipParameters Constructor Description ZipParameters(ZipParameters zipParameters)
Create a clone of given ZipParameters instance -
Uses of ZipParameters in net.lingala.zip4j.tasks
Fields in net.lingala.zip4j.tasks declared as ZipParameters Modifier and Type Field Description private ZipParameters
AddFilesToZipTask.AddFilesToZipTaskParameters. zipParameters
private ZipParameters
AddFolderToZipTask.AddFolderToZipTaskParameters. zipParameters
private ZipParameters
AddStreamToZipTask.AddStreamToZipTaskParameters. zipParameters
Methods in net.lingala.zip4j.tasks that return ZipParameters Modifier and Type Method Description private ZipParameters
AbstractAddFileToZipTask. cloneAndAdjustZipParameters(ZipParameters zipParameters, java.io.File fileToAdd, ProgressMonitor progressMonitor)
Methods in net.lingala.zip4j.tasks with parameters of type ZipParameters Modifier and Type Method Description (package private) void
AbstractAddFileToZipTask. addFilesToZip(java.util.List<java.io.File> filesToAdd, ProgressMonitor progressMonitor, ZipParameters zipParameters, Zip4jConfig zip4jConfig)
private void
AbstractAddFileToZipTask. addFileToZip(java.io.File fileToAdd, ZipOutputStream zipOutputStream, ZipParameters zipParameters, SplitOutputStream splitOutputStream, ProgressMonitor progressMonitor, byte[] readBuff)
private boolean
AbstractAddFileToZipTask. addSymlink(ZipParameters zipParameters)
private void
AbstractAddFileToZipTask. addSymlinkToZip(java.io.File fileToAdd, ZipOutputStream zipOutputStream, ZipParameters zipParameters, SplitOutputStream splitOutputStream)
(package private) long
AbstractAddFileToZipTask. calculateWorkForFiles(java.util.List<java.io.File> filesToAdd, ZipParameters zipParameters)
private ZipParameters
AbstractAddFileToZipTask. cloneAndAdjustZipParameters(ZipParameters zipParameters, java.io.File fileToAdd, ProgressMonitor progressMonitor)
private java.util.List<java.io.File>
AbstractAddFileToZipTask. removeFilesIfExists(java.util.List<java.io.File> files, ZipParameters zipParameters, ProgressMonitor progressMonitor, Zip4jConfig zip4jConfig)
(package private) void
AbstractAddFileToZipTask. verifyZipParameters(ZipParameters parameters)
Constructors in net.lingala.zip4j.tasks with parameters of type ZipParameters Constructor Description AddFilesToZipTaskParameters(java.util.List<java.io.File> filesToAdd, ZipParameters zipParameters, Zip4jConfig zip4jConfig)
AddFolderToZipTaskParameters(java.io.File folderToAdd, ZipParameters zipParameters, Zip4jConfig zip4jConfig)
AddStreamToZipTaskParameters(java.io.InputStream inputStream, ZipParameters zipParameters, Zip4jConfig zip4jConfig)
-
Uses of ZipParameters in net.lingala.zip4j.util
Methods in net.lingala.zip4j.util with parameters of type ZipParameters Modifier and Type Method Description static int
ZipVersionUtils. determineVersionMadeBy(ZipParameters zipParameters, RawIO rawIO)
static VersionNeededToExtract
ZipVersionUtils. determineVersionNeededToExtract(ZipParameters zipParameters)
static java.util.List<java.io.File>
FileUtils. getFilesInDirectoryRecursive(java.io.File path, ZipParameters zipParameters)
static java.lang.String
FileUtils. getRelativeFileName(java.io.File fileToAdd, ZipParameters zipParameters)
-