Uses of Class
net.lingala.zip4j.model.ZipParameters
Packages that use ZipParameters
Package
Description
-
Uses of ZipParameters in net.lingala.zip4j
Methods in net.lingala.zip4j with parameters of type ZipParametersModifier and TypeMethodDescriptionvoidZipFile.addFile(File fileToAdd, ZipParameters parameters) Adds input source file to the zip file.voidZipFile.addFile(String fileToAdd, ZipParameters zipParameters) Adds input source file to the zip file with provided zip parameters.voidZipFile.addFiles(List<File> filesToAdd, ZipParameters parameters) Adds the list of input files to the zip file.voidZipFile.addFolder(File folderToAdd, ZipParameters zipParameters) Adds the folder in the given file object to the zip file.private voidZipFile.addFolder(File folderToAdd, ZipParameters zipParameters, boolean checkSplitArchive) Internal method to add a folder to the zip file.voidZipFile.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.voidZipFile.createSplitZipFile(InputStream inputStream, ZipParameters parameters, boolean splitArchive, long splitLength) Creates a split zip file from the input stream if splitArchive flag is set to true.voidZipFile.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.voidZipFile.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. -
Uses of ZipParameters in net.lingala.zip4j.headers
Methods in net.lingala.zip4j.headers with parameters of type ZipParametersModifier and TypeMethodDescriptionprivate byte[]FileHeaderFactory.determineGeneralPurposeBitFlag(boolean isEncrypted, ZipParameters zipParameters, Charset charset) private AESExtraDataRecordFileHeaderFactory.generateAESExtraDataRecord(ZipParameters parameters) FileHeaderFactory.generateFileHeader(ZipParameters zipParameters, boolean isSplitZip, int currentDiskNumberStart, Charset charset, RawIO rawIO) private byteFileHeaderFactory.generateFirstGeneralPurposeByte(boolean isEncrypted, ZipParameters zipParameters) -
Uses of ZipParameters in net.lingala.zip4j.io.outputstream
Methods in net.lingala.zip4j.io.outputstream that return ZipParametersModifier and TypeMethodDescriptionprivate ZipParametersZipOutputStream.cloneAndPrepareZipParameters(ZipParameters zipParameters) Methods in net.lingala.zip4j.io.outputstream with parameters of type ZipParametersModifier and TypeMethodDescriptionprivate ZipParametersZipOutputStream.cloneAndPrepareZipParameters(ZipParameters zipParameters) private longZipStandardCipherOutputStream.getEncryptionKey(ZipParameters zipParameters) private voidZipOutputStream.initializeAndWriteFileHeader(ZipParameters zipParameters) private CipherOutputStream<?> ZipOutputStream.initializeCipherOutputStream(ZipEntryOutputStream zipEntryOutputStream, ZipParameters zipParameters) private CompressedOutputStreamZipOutputStream.initializeCompressedOutputStream(CipherOutputStream<?> cipherOutputStream, ZipParameters zipParameters) private CompressedOutputStreamZipOutputStream.initializeCompressedOutputStream(ZipParameters zipParameters) protected AESEncrypterAesCipherOutputStream.initializeEncrypter(OutputStream outputStream, ZipParameters zipParameters, char[] password, boolean useUtf8ForPassword) protected abstract TCipherOutputStream.initializeEncrypter(OutputStream outputStream, ZipParameters zipParameters, char[] password, boolean useUtf8ForPassword) protected NoCipherOutputStream.NoEncrypterNoCipherOutputStream.initializeEncrypter(OutputStream outputStream, ZipParameters zipParameters, char[] password, boolean useUtf8ForPassword) protected StandardEncrypterZipStandardCipherOutputStream.initializeEncrypter(OutputStream outputStream, ZipParameters zipParameters, char[] password, boolean useUtf8ForPassword) voidZipOutputStream.putNextEntry(ZipParameters zipParameters) private voidZipOutputStream.verifyZipParameters(ZipParameters zipParameters) Constructors in net.lingala.zip4j.io.outputstream with parameters of type ZipParametersModifierConstructorDescriptionAesCipherOutputStream(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 ZipParametersModifierConstructorDescriptionZipParameters(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 ZipParametersModifier and TypeFieldDescriptionprivate final ZipParametersAddFilesToZipTask.AddFilesToZipTaskParameters.zipParametersprivate final ZipParametersAddFolderToZipTask.AddFolderToZipTaskParameters.zipParametersprivate final ZipParametersAddStreamToZipTask.AddStreamToZipTaskParameters.zipParametersMethods in net.lingala.zip4j.tasks that return ZipParametersModifier and TypeMethodDescriptionprivate ZipParametersAbstractAddFileToZipTask.cloneAndAdjustZipParameters(ZipParameters zipParameters, File fileToAdd, ProgressMonitor progressMonitor) Methods in net.lingala.zip4j.tasks with parameters of type ZipParametersModifier and TypeMethodDescription(package private) voidAbstractAddFileToZipTask.addFilesToZip(List<File> filesToAdd, ProgressMonitor progressMonitor, ZipParameters zipParameters, Zip4jConfig zip4jConfig) private voidAbstractAddFileToZipTask.addFileToZip(File fileToAdd, ZipOutputStream zipOutputStream, ZipParameters zipParameters, SplitOutputStream splitOutputStream, ProgressMonitor progressMonitor, byte[] readBuff) private booleanAbstractAddFileToZipTask.addSymlink(ZipParameters zipParameters) private voidAbstractAddFileToZipTask.addSymlinkToZip(File fileToAdd, ZipOutputStream zipOutputStream, ZipParameters zipParameters, SplitOutputStream splitOutputStream) (package private) longAbstractAddFileToZipTask.calculateWorkForFiles(List<File> filesToAdd, ZipParameters zipParameters) private ZipParametersAbstractAddFileToZipTask.cloneAndAdjustZipParameters(ZipParameters zipParameters, File fileToAdd, ProgressMonitor progressMonitor) AbstractAddFileToZipTask.removeFilesIfExists(List<File> files, ZipParameters zipParameters, ProgressMonitor progressMonitor, Zip4jConfig zip4jConfig) (package private) voidAbstractAddFileToZipTask.verifyZipParameters(ZipParameters parameters) Constructors in net.lingala.zip4j.tasks with parameters of type ZipParametersModifierConstructorDescriptionAddFilesToZipTaskParameters(List<File> filesToAdd, ZipParameters zipParameters, Zip4jConfig zip4jConfig) AddFolderToZipTaskParameters(File folderToAdd, ZipParameters zipParameters, Zip4jConfig zip4jConfig) AddStreamToZipTaskParameters(InputStream inputStream, ZipParameters zipParameters, Zip4jConfig zip4jConfig) -
Uses of ZipParameters in net.lingala.zip4j.util
Methods in net.lingala.zip4j.util with parameters of type ZipParametersModifier and TypeMethodDescriptionstatic intZipVersionUtils.determineVersionMadeBy(ZipParameters zipParameters, RawIO rawIO) static VersionNeededToExtractZipVersionUtils.determineVersionNeededToExtract(ZipParameters zipParameters) FileUtils.getFilesInDirectoryRecursive(File path, ZipParameters zipParameters) static StringFileUtils.getRelativeFileName(File fileToAdd, ZipParameters zipParameters)