Index
All Classes and Interfaces|All Packages
A
- add(SevenZOutputFile, File) - Static method in class io.github.astrapi69.zip.sevenz.SevenZOutputFileExtensions
-
Adds a file to the 7z archive.
- add(SevenZOutputFile, String, File) - Static method in class io.github.astrapi69.zip.sevenz.SevenZOutputFileExtensions
-
Adds a file to the 7z archive under the specified directory
B
- build() - Method in class io.github.astrapi69.zip.UnZipper.UnzipperBuilder
-
Constructs a new `Unzipper` object based on the current builder state.
- build() - Method in class io.github.astrapi69.zip.Zipper.ZipperBuilder
-
Builds a new
Zipper
object with the configured parameters. - builder() - Static method in class io.github.astrapi69.zip.UnZipper
-
Creates a builder for constructing `Unzipper` objects.
- builder() - Static method in class io.github.astrapi69.zip.Zipper
-
Provides a builder to construct a
Zipper
object with desired parameters.
C
- COMPRESSED_SIZE - Enum constant in enum class io.github.astrapi69.zip.ZipState
-
The COMPRESSE d_ size.
- compressionMethod(int) - Method in class io.github.astrapi69.zip.Zipper.ZipperBuilder
-
Sets the compression method for the ZIP archive being created.
D
- DATA - Enum constant in enum class io.github.astrapi69.zip.ZipState
-
The DATA.
- DIRECTORY_TO_ZIP_DOES_NOT_EXIST - Enum constant in enum class io.github.astrapi69.zip.ZipErrorCodes
-
Error code indicating that the directory to be zipped does not exist.
- directoryToZip(File) - Method in class io.github.astrapi69.zip.Zipper.ZipperBuilder
-
Sets the directory to be zipped.
- dirToStart(String) - Method in class io.github.astrapi69.zip.Zipper.ZipperBuilder
-
Sets the starting directory within the ZIP archive.
E
- EF_LENGTH - Enum constant in enum class io.github.astrapi69.zip.ZipState
-
The E f_ length.
- extract(File, File) - Static method in class io.github.astrapi69.zip.sevenz.SevenZFileExtensions
-
Extracts the contents of a 7z archive to the specified destination directory.
- extract(File, File, char[]) - Static method in class io.github.astrapi69.zip.sevenz.SevenZFileExtensions
-
Extracts the contents of a 7z archive to the specified destination directory.
- extractZipEntry(ZipFile, ZipEntry, File) - Method in class io.github.astrapi69.zip.UnZipper
-
Extracts a specific zip entry to the target directory.
- extractZipEntry(ZipFile, ZipEntry, File) - Static method in class io.github.astrapi69.zip.ZipExtensions
-
Extract zip entry.
F
- fileCounter(int) - Method in class io.github.astrapi69.zip.Zipper.ZipperBuilder
-
Sets the file counter for tracking the number of files zipped.
- fileFilter(FilenameFilter) - Method in class io.github.astrapi69.zip.Zipper.ZipperBuilder
-
Sets the filename filter used during zipping.
- fileLength(long) - Method in class io.github.astrapi69.zip.Zipper.ZipperBuilder
-
Sets the total length of files being zipped.
- FLAGS - Enum constant in enum class io.github.astrapi69.zip.ZipState
-
The FLAGS.
- FN_LENGTH - Enum constant in enum class io.github.astrapi69.zip.ZipState
-
The F n_ length.
G
- getCompressionMethod() - Method in interface io.github.astrapi69.zip.ZipModel
-
Returns the field
compressionMethod
. - getCompressionMethod() - Method in class io.github.astrapi69.zip.Zipper
-
Gets the compression method used for zipping.
- getDirectoryToZip() - Method in interface io.github.astrapi69.zip.ZipModel
-
Returns the field
directoryToZip
. - getDirectoryToZip() - Method in class io.github.astrapi69.zip.Zipper
-
Gets the directory to be zipped.
- getDirToStart() - Method in interface io.github.astrapi69.zip.ZipModel
-
Returns the field
dirToStart
. - getDirToStart() - Method in class io.github.astrapi69.zip.Zipper
-
Gets the starting directory within the ZIP archive.
- getFileCounter() - Method in interface io.github.astrapi69.zip.ZipModel
-
Returns the field
fileCounter
. - getFileCounter() - Method in class io.github.astrapi69.zip.Zipper
-
Gets the total number of files zipped.
- getFileFilter() - Method in interface io.github.astrapi69.zip.ZipModel
-
Returns the field
fileFilter
. - getFileFilter() - Method in class io.github.astrapi69.zip.Zipper
-
Gets the file name filter used during zipping.
- getFileLength() - Method in interface io.github.astrapi69.zip.ZipModel
-
Returns the field
fileLength
. - getFileLength() - Method in class io.github.astrapi69.zip.Zipper
-
Gets the total length of files being zipped.
- getToDir() - Method in class io.github.astrapi69.zip.UnZipper
-
Retrieves the current target directory for extraction.
- getZipFile() - Method in class io.github.astrapi69.zip.UnZipper
-
Retrieves the current zip file being used for extraction.
- getZipFile() - Method in interface io.github.astrapi69.zip.ZipModel
-
Returns the field
zipFile
. - getZipFile() - Method in class io.github.astrapi69.zip.Zipper
-
Gets the target ZIP file object.
- getZipFileComment() - Method in interface io.github.astrapi69.zip.ZipModel
-
Returns the field
zipFileComment
. - getZipFileComment() - Method in class io.github.astrapi69.zip.Zipper
-
Gets the comment associated with the ZIP file.
- getZipFileName() - Method in interface io.github.astrapi69.zip.ZipModel
-
Returns the field
zipFileName
. - getZipFileName() - Method in class io.github.astrapi69.zip.Zipper
-
Gets the name of the ZIP file.
- getZipFileObj() - Method in interface io.github.astrapi69.zip.ZipModel
-
Returns the field
zipFileObj
. - getZipFileObj() - Method in class io.github.astrapi69.zip.Zipper
-
Gets the ZIP file object.
- getZipLevel() - Method in interface io.github.astrapi69.zip.ZipModel
-
Returns the field
zipLevel
. - getZipLevel() - Method in class io.github.astrapi69.zip.Zipper
-
Gets the compression level used during zipping.
H
I
- IO_ERROR - Enum constant in enum class io.github.astrapi69.zip.ZipErrorCodes
-
Error code indicating an I/O error during ZIP file operations.
- io.github.astrapi69.zip - package io.github.astrapi69.zip
-
Provides classes for zipping and unzipping zip files
- io.github.astrapi69.zip.sevenz - package io.github.astrapi69.zip.sevenz
-
Provides classes for handling 7z (7-Zip) file compression and decompression
- io.github.astrapisixtynine.zip.worker - module io.github.astrapisixtynine.zip.worker
-
The MIT License Copyright (C) 2015 Asterios Raptis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- isZip(String) - Static method in class io.github.astrapi69.zip.ZipExtensions
-
Checks if the given filename is a zip-file.
S
- setCompressionMethod(int) - Method in interface io.github.astrapi69.zip.ZipModel
-
Sets the field
compressionMethod
. - setCompressionMethod(int) - Method in class io.github.astrapi69.zip.Zipper
-
Sets the compression method for zipping.
- setDirectoryToZip(File) - Method in interface io.github.astrapi69.zip.ZipModel
-
Sets the field
directoryToZip
. - setDirectoryToZip(File) - Method in class io.github.astrapi69.zip.Zipper
-
Sets the directory to be zipped.
- setDirToStart(String) - Method in interface io.github.astrapi69.zip.ZipModel
-
Sets the field
dirToStart
. - setDirToStart(String) - Method in class io.github.astrapi69.zip.Zipper
-
Sets the starting directory within the ZIP archive.
- setFileCounter(int) - Method in interface io.github.astrapi69.zip.ZipModel
-
Sets the field
fileCounter
. - setFileCounter(int) - Method in class io.github.astrapi69.zip.Zipper
-
Sets the total number of files zipped.
- setFileFilter(FilenameFilter) - Method in interface io.github.astrapi69.zip.ZipModel
-
Sets the field
fileFilter
. - setFileFilter(FilenameFilter) - Method in class io.github.astrapi69.zip.Zipper
-
Sets the file name filter used during zipping.
- setFileLength(long) - Method in interface io.github.astrapi69.zip.ZipModel
-
Sets the field
fileLength
. - setFileLength(long) - Method in class io.github.astrapi69.zip.Zipper
-
Sets the total length of files being zipped.
- setToDir(File) - Method in class io.github.astrapi69.zip.UnZipper
-
Sets the target directory for extraction.
- setZipFile(File) - Method in interface io.github.astrapi69.zip.ZipModel
-
Sets the field
zipFile
. - setZipFile(File) - Method in class io.github.astrapi69.zip.Zipper
-
Sets the target ZIP file object.
- setZipFile(ZipFile) - Method in class io.github.astrapi69.zip.UnZipper
-
Sets the zip file to use for extraction.
- setZipFileComment(String) - Method in interface io.github.astrapi69.zip.ZipModel
-
Sets the field
zipFileComment
. - setZipFileComment(String) - Method in class io.github.astrapi69.zip.Zipper
-
Sets the comment associated with the ZIP file.
- setZipFileName(String) - Method in interface io.github.astrapi69.zip.ZipModel
-
Sets the field
zipFileName
. - setZipFileName(String) - Method in class io.github.astrapi69.zip.Zipper
-
Sets the name of the ZIP file.
- setZipFileObj(ZipFile) - Method in interface io.github.astrapi69.zip.ZipModel
-
Sets the field
zipFileObj
. - setZipFileObj(ZipFile) - Method in class io.github.astrapi69.zip.Zipper
-
Sets the ZIP file object.
- setZipLevel(int) - Method in interface io.github.astrapi69.zip.ZipModel
-
Sets the field
zipLevel
. - setZipLevel(int) - Method in class io.github.astrapi69.zip.Zipper
-
Sets the compression level used during zipping.
- SevenZFileExtensions - Class in io.github.astrapi69.zip.sevenz
-
Utility class for handling 7z (7-Zip) file compression and decompression.
- SevenZFileExtensions() - Constructor for class io.github.astrapi69.zip.sevenz.SevenZFileExtensions
- SevenZOutputFileExtensions - Class in io.github.astrapi69.zip.sevenz
-
Extension functions for SevenZOutputFile.
- SevenZOutputFileExtensions() - Constructor for class io.github.astrapi69.zip.sevenz.SevenZOutputFileExtensions
- SIGNATURE - Enum constant in enum class io.github.astrapi69.zip.ZipState
-
The SIGNATURE.
T
- TAIL - Enum constant in enum class io.github.astrapi69.zip.ZipState
-
The TAIL.
- toBuilder() - Method in class io.github.astrapi69.zip.UnZipper
-
Creates a builder initialized with the current `Unzipper` instance's properties.
- toBuilder() - Method in class io.github.astrapi69.zip.Zipper
-
Creates a new
ZipperBuilder
initialized with current object's properties. - toDir(File) - Method in class io.github.astrapi69.zip.UnZipper.UnzipperBuilder
-
Sets the target directory for the `Unzipper` object being built.
- toString() - Method in class io.github.astrapi69.zip.UnZipper
-
Returns a string representation of the `Unzipper` object, showing its current target directory and zip file.
- toString() - Method in class io.github.astrapi69.zip.UnZipper.UnzipperBuilder
-
Returns a string representation of the `UnzipperBuilder` object, showing its current target directory and zip file.
U
- unzip() - Method in class io.github.astrapi69.zip.UnZipper
-
Extracts all entries from the current zip file to the current target directory.
- unzip(ZipFile, File) - Method in class io.github.astrapi69.zip.UnZipper
-
Extracts all entries from the specified zip file to the specified target directory.
- unzip(ZipFile, File) - Static method in class io.github.astrapi69.zip.ZipExtensions
-
Unzip.
- UnZipper - Class in io.github.astrapi69.zip
-
The `UnZipper` class provides methods to extract zip entries to a specified directory.
- UnZipper() - Constructor for class io.github.astrapi69.zip.UnZipper
-
Default constructor.
- UnZipper(File, ZipFile) - Constructor for class io.github.astrapi69.zip.UnZipper
-
Constructs an `Unzipper` with the given target directory and zip file.
- UnZipper(ZipFile, File) - Constructor for class io.github.astrapi69.zip.UnZipper
-
Constructs an `Unzipper` with the given zip file and target directory.
- UnZipper.UnzipperBuilder - Class in io.github.astrapi69.zip
-
Builder class for constructing `Unzipper` objects.
V
- valueOf(String) - Static method in enum class io.github.astrapi69.zip.ZipErrorCodes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.astrapi69.zip.ZipState
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.astrapi69.zip.ZipErrorCodes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.astrapi69.zip.ZipState
-
Returns an array containing the constants of this enum class, in the order they are declared.
Z
- zip() - Method in class io.github.astrapi69.zip.Zipper
-
Creates a ZIP archive of the specified directory and its contents.
- zip(File, File) - Static method in class io.github.astrapi69.zip.ZipExtensions
-
Zip the given file.
- zip(File, File, FilenameFilter) - Static method in class io.github.astrapi69.zip.ZipExtensions
-
Zip the given file.
- zip(File, File, FilenameFilter, boolean) - Static method in class io.github.astrapi69.zip.ZipExtensions
-
Zip the given file.
- ZIP_FILE_DOES_NOT_EXIST - Enum constant in enum class io.github.astrapi69.zip.ZipErrorCodes
-
Error code indicating that the ZIP file does not exist.
- ZipErrorCodes - Enum Class in io.github.astrapi69.zip
-
The
ZipErrorCodes
enum represents error codes related to ZIP file operations. - ZipExtensions - Class in io.github.astrapi69.zip
-
The class
ZipExtensions
provides functionality for ziping and unzipping files. - zipFile(File) - Method in class io.github.astrapi69.zip.Zipper.ZipperBuilder
-
Sets the target ZIP file object.
- zipFile(ZipFile) - Method in class io.github.astrapi69.zip.UnZipper.UnzipperBuilder
-
Sets the zip file for the `Unzipper` object being built.
- zipFileComment(String) - Method in class io.github.astrapi69.zip.Zipper.ZipperBuilder
-
Sets the comment associated with the ZIP file.
- zipFileName(String) - Method in class io.github.astrapi69.zip.Zipper.ZipperBuilder
-
Sets the name of the ZIP file.
- zipFileObj(ZipFile) - Method in class io.github.astrapi69.zip.Zipper.ZipperBuilder
-
Sets the ZIP file object.
- zipFiles(File, File...) - Static method in class io.github.astrapi69.zip.sevenz.SevenZFileExtensions
-
Compresses the given files into a 7z archive.
- zipFiles(File, File, FileFilter...) - Static method in class io.github.astrapi69.zip.ZipExtensions
-
Zip files.
- zipFiles(File, String, File...) - Static method in class io.github.astrapi69.zip.sevenz.SevenZFileExtensions
-
Compresses the given files into a 7z archive.
- zipLevel(int) - Method in class io.github.astrapi69.zip.Zipper.ZipperBuilder
-
Sets the compression level used during zipping.
- ZipModel - Interface in io.github.astrapi69.zip
-
The Interface ZipModel.
- Zipper - Class in io.github.astrapi69.zip
-
The
Zipper
class provides functionality to create ZIP archives from directories or files. - Zipper() - Constructor for class io.github.astrapi69.zip.Zipper
-
Instantiates a new
Zipper
object - Zipper(int, File, String, int, FilenameFilter, long, File, String, String, ZipFile, int) - Constructor for class io.github.astrapi69.zip.Zipper
-
Instantiates a new
Zipper
object with detailed parameters. - Zipper(File, File) - Constructor for class io.github.astrapi69.zip.Zipper
-
Instantiates a new
Zipper
object - Zipper(File, File, FilenameFilter) - Constructor for class io.github.astrapi69.zip.Zipper
-
Instantiates a new
Zipper
object - Zipper.ZipperBuilder - Class in io.github.astrapi69.zip
-
Builder class for constructing
Zipper
objects with desired parameters. - ZipState - Enum Class in io.github.astrapi69.zip
-
The enum
ZipState
provides flags for the encryption and decryption of zip files.
All Classes and Interfaces|All Packages