- addEntries(ZipEntrySource[]) - Method in class org.zeroturnaround.zip.Zips
-
Specifies entries to add or change to the output when this Zips executes.
- addEntries(File, ZipEntrySource[], File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and appends it with new entries.
- addEntries(File, ZipEntrySource[], OutputStream) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and appends it with new entries.
- addEntries(InputStream, ZipEntrySource[], OutputStream) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and appends it with new entries.
- addEntries(File, ZipEntrySource[]) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes a zip file it with with new entries.
- addEntry(ZipEntrySource) - Method in class org.zeroturnaround.zip.Zips
-
Specifies an entry to add or change to the output when this Zips executes.
- addEntry(File, String, File, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and appends it with one new entry.
- addEntry(File, String, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes a zip file, adds one new entry in-place.
- addEntry(File, String, byte[], File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and appends it with one new entry.
- addEntry(File, String, byte[], File, int) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and appends it with one new entry.
- addEntry(File, String, byte[]) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes a zip file, adds one new entry in-place.
- addEntry(File, String, byte[], int) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes a zip file, adds one new entry in-place.
- addEntry(File, ZipEntrySource, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and appends it with one new entry.
- addEntry(File, ZipEntrySource) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes a zip file, adds one new entry in-place.
- addFile(File) - Method in class org.zeroturnaround.zip.Zips
-
Adds a file entry.
- addFile(File, boolean) - Method in class org.zeroturnaround.zip.Zips
-
Adds a file entry.
- addFile(File, FileFilter) - Method in class org.zeroturnaround.zip.Zips
-
Adds a file entry.
- addFile(File, boolean, FileFilter) - Method in class org.zeroturnaround.zip.Zips
-
Adds a file entry.
- addOrReplaceEntries(File, ZipEntrySource[], File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and adds/replaces the given entries in it.
- addOrReplaceEntries(File, ZipEntrySource[]) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes a ZIP file: adds/replaces the given entries in it.
- addTransformer(String, ZipEntryTransformer) - Method in class org.zeroturnaround.zip.Zips
-
Registers a transformer for a given entry.
- append(char) - Method in class org.zeroturnaround.zip.commons.StringBuilderWriter
-
Append a single character to this Writer.
- append(CharSequence) - Method in class org.zeroturnaround.zip.commons.StringBuilderWriter
-
Append a character sequence to this Writer.
- append(CharSequence, int, int) - Method in class org.zeroturnaround.zip.commons.StringBuilderWriter
-
- archiveEquals(File, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compares two ZIP files and returns true
if they contain same
entries.
- AsiExtraField - Class in org.zeroturnaround.zip.extra
-
This is a class that has been made significantly smaller (deleted a bunch of methods) and originally
is from the Apache Ant Project (http://ant.apache.org), org.apache.tools.zip package.
- AsiExtraField() - Constructor for class org.zeroturnaround.zip.extra.AsiExtraField
-
Constructor for AsiExtraField.
- CFH_SIG - Static variable in class org.zeroturnaround.zip.extra.ZipLong
-
Central File Header Signature
- charset(Charset) - Method in class org.zeroturnaround.zip.Zips
-
Specifies charset for this Zips execution
- cleanDirectory(File) - Static method in class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Cleans a directory without deleting it.
- clone() - Method in class org.zeroturnaround.zip.extra.AsiExtraField
-
- clone() - Method in class org.zeroturnaround.zip.extra.ZipLong
-
- clone() - Method in class org.zeroturnaround.zip.extra.ZipShort
-
- close() - Method in class org.zeroturnaround.zip.commons.StringBuilderWriter
-
Closing this writer has no effect.
- closeQuietly(InputStream) - Static method in class org.zeroturnaround.zip.commons.IOUtils
-
Unconditionally close an InputStream
.
- closeQuietly(OutputStream) - Static method in class org.zeroturnaround.zip.commons.IOUtils
-
Unconditionally close an OutputStream
.
- closeQuietly(Closeable) - Static method in class org.zeroturnaround.zip.commons.IOUtils
-
Unconditionally close a Closeable
.
- closeQuietly(ZipFile) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Closes the ZIP file while ignoring any errors.
- containsAnyEntry(File, String[]) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Checks if the ZIP file contains any of the given entries.
- containsEntry(String) - Method in class org.zeroturnaround.zip.Zips
-
Alias to ZipUtil.containsEntry()
- containsEntry(File, String) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Checks if the ZIP file contains the given entry.
- contentEquals(File, File) - Static method in class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Compares the contents of two files to determine if they are equal or not.
- contentEquals(InputStream, InputStream) - Static method in class org.zeroturnaround.zip.commons.IOUtils
-
Compare the contents of two Streams to determine if they are equal or
not.
- copy(File, OutputStream) - Static method in class org.zeroturnaround.zip.commons.FileUtils
-
Copies the given file into an output stream.
- copy(InputStream, File) - Static method in class org.zeroturnaround.zip.commons.FileUtils
-
Copies the given input stream into a file.
- copy(InputStream, OutputStream) - Static method in class org.zeroturnaround.zip.commons.IOUtils
-
Copy bytes from an InputStream
to an
OutputStream
.
- copy(InputStream, Writer) - Static method in class org.zeroturnaround.zip.commons.IOUtils
-
Copy bytes from an InputStream
to chars on a
Writer
using the default character encoding of the platform.
- copy(InputStream, Writer, String) - Static method in class org.zeroturnaround.zip.commons.IOUtils
-
Copy bytes from an InputStream
to chars on a
Writer
using the specified character encoding.
- copy(Reader, Writer) - Static method in class org.zeroturnaround.zip.commons.IOUtils
-
Copy chars from a Reader
to a Writer
.
- copyDirectory(File, File) - Static method in class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Copies a whole directory to a new location preserving the file dates.
- copyDirectory(File, File, boolean) - Static method in class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Copies a whole directory to a new location.
- copyDirectory(File, File, FileFilter, boolean) - Static method in class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Copies a filtered directory to a new location.
- copyFile(File, File) - Static method in class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Copies a file to a new location preserving the file date.
- copyFile(File, File, boolean) - Static method in class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Copies a file to a new location.
- copyFileToDirectory(File, File) - Static method in class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Copies a file to a directory preserving the file date.
- copyFileToDirectory(File, File, boolean) - Static method in class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Copies a file to a directory optionally preserving the file date.
- copyLarge(InputStream, OutputStream) - Static method in class org.zeroturnaround.zip.commons.IOUtils
-
Copy bytes from a large (over 2GB) InputStream
to an
OutputStream
.
- copyLarge(InputStream, OutputStream, byte[]) - Static method in class org.zeroturnaround.zip.commons.IOUtils
-
Copy bytes from a large (over 2GB) InputStream
to an
OutputStream
.
- copyLarge(Reader, Writer) - Static method in class org.zeroturnaround.zip.commons.IOUtils
-
Copy chars from a large (over 2GB) Reader
to a Writer
.
- copyLarge(Reader, Writer, char[]) - Static method in class org.zeroturnaround.zip.commons.IOUtils
-
Copy chars from a large (over 2GB) Reader
to a Writer
.
- create() - Static method in class org.zeroturnaround.zip.Zips
-
Static factory method to obtain an instance of Zips without source file.
- createExtraField(ZipShort) - Static method in class org.zeroturnaround.zip.extra.ExtraFieldUtils
-
- FileExistsException - Exception in org.zeroturnaround.zip.commons
-
Indicates that a file already exists.
- FileExistsException() - Constructor for exception org.zeroturnaround.zip.commons.FileExistsException
-
Default Constructor.
- FileExistsException(String) - Constructor for exception org.zeroturnaround.zip.commons.FileExistsException
-
Construct an instance with the specified message.
- FileExistsException(File) - Constructor for exception org.zeroturnaround.zip.commons.FileExistsException
-
Construct an instance with the specified file.
- FilenameUtils - Class in org.zeroturnaround.zip.commons
-
This is a class that has been made significantly smaller (deleted a bunch of methods) and originally
is from the Apache Commons IO 2.2 package (the latest version that supports Java 1.5).
- FilenameUtils() - Constructor for class org.zeroturnaround.zip.commons.FilenameUtils
-
Instances should NOT be constructed in standard programming.
- FileSource - Class in org.zeroturnaround.zip
-
- FileSource(String, File) - Constructor for class org.zeroturnaround.zip.FileSource
-
- FileUtils - Class in org.zeroturnaround.zip.commons
-
This class adds some convenience methods on top of Apache CommonsIO FileUtils.
- FileUtils() - Constructor for class org.zeroturnaround.zip.commons.FileUtils
-
Instances should NOT be constructed in standard programming.
- FileUtilsV2_2 - Class in org.zeroturnaround.zip.commons
-
This is a class that has been made significantly smaller (deleted a bunch of methods) and originally
is from the Apache Commons IO 2.2 package (the latest version that supports Java 1.5).
- FileUtilsV2_2() - Constructor for class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Instances should NOT be constructed in standard programming.
- FileZipEntryTransformer - Class in org.zeroturnaround.zip.transform
-
- FileZipEntryTransformer() - Constructor for class org.zeroturnaround.zip.transform.FileZipEntryTransformer
-
- flush() - Method in class org.zeroturnaround.zip.commons.StringBuilderWriter
-
Flushing this writer has no effect.
- forceDelete(File) - Static method in class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Deletes a file.
- forceDeleteOnExit(File) - Static method in class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Schedules a file to be deleted when JVM exits.
- forceMkdir(File) - Static method in class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Makes a directory, including any necessary but nonexistent parent
directories.
- get(File) - Static method in class org.zeroturnaround.zip.Zips
-
Static factory method to obtain an instance of Zips.
- getBuilder() - Method in class org.zeroturnaround.zip.commons.StringBuilderWriter
-
Return the underlying builder.
- getBytes() - Method in class org.zeroturnaround.zip.extra.ZipLong
-
Get value as four bytes in big endian byte order.
- getBytes(long) - Static method in class org.zeroturnaround.zip.extra.ZipLong
-
Get value as four bytes in big endian byte order.
- getBytes() - Method in class org.zeroturnaround.zip.extra.ZipShort
-
Get value as two bytes in big endian byte order.
- getBytes(int) - Static method in class org.zeroturnaround.zip.extra.ZipShort
-
Get value as two bytes in big endian byte order.
- getCentralDirectoryData() - Method in class org.zeroturnaround.zip.extra.AsiExtraField
-
Delegate to local file data.
- getCentralDirectoryData() - Method in class org.zeroturnaround.zip.extra.UnrecognizedExtraField
-
Get the central data.
- getCentralDirectoryData() - Method in interface org.zeroturnaround.zip.extra.ZipExtraField
-
The actual data to put into central directory - without Header-ID or
length specifier.
- getCentralDirectoryLength() - Method in class org.zeroturnaround.zip.extra.AsiExtraField
-
Delegate to local file data.
- getCentralDirectoryLength() - Method in class org.zeroturnaround.zip.extra.UnrecognizedExtraField
-
Get the central data length.
- getCentralDirectoryLength() - Method in interface org.zeroturnaround.zip.extra.ZipExtraField
-
Length of the extra field in the central directory - without
Header-ID or length specifier.
- getCompressionLevelOfEntry(File, String) - Static method in class org.zeroturnaround.zip.ZipUtil
-
- getCompressionMethodOfEntry(File, String) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Returns the compression method of a given entry of the ZIP file.
- getEntry() - Method in class org.zeroturnaround.zip.ByteSource
-
- getEntry() - Method in class org.zeroturnaround.zip.FileSource
-
- getEntry() - Method in interface org.zeroturnaround.zip.ZipEntrySource
-
- getEntry(String) - Method in class org.zeroturnaround.zip.Zips
-
Alias to ZipUtil.getEntry()
- getGroupId() - Method in class org.zeroturnaround.zip.extra.AsiExtraField
-
Get the group id.
- getHeaderId() - Method in class org.zeroturnaround.zip.extra.AsiExtraField
-
The Header-ID.
- getHeaderId() - Method in class org.zeroturnaround.zip.extra.UnrecognizedExtraField
-
Get the header id.
- getHeaderId() - Method in interface org.zeroturnaround.zip.extra.ZipExtraField
-
The Header-ID.
- getInputStream() - Method in class org.zeroturnaround.zip.ByteSource
-
- getInputStream() - Method in class org.zeroturnaround.zip.FileSource
-
- getInputStream() - Method in interface org.zeroturnaround.zip.ZipEntrySource
-
- getInstance() - Static method in class org.zeroturnaround.zip.timestamps.TimestampStrategyFactory
-
- getLinkedFile() - Method in class org.zeroturnaround.zip.extra.AsiExtraField
-
Name of linked file
- getLocalFileDataData() - Method in class org.zeroturnaround.zip.extra.AsiExtraField
-
The actual data to put into local file data - without Header-ID
or length specifier.
- getLocalFileDataData() - Method in class org.zeroturnaround.zip.extra.UnrecognizedExtraField
-
Get the local data.
- getLocalFileDataData() - Method in interface org.zeroturnaround.zip.extra.ZipExtraField
-
The actual data to put into local file data - without Header-ID
or length specifier.
- getLocalFileDataLength() - Method in class org.zeroturnaround.zip.extra.AsiExtraField
-
Length of the extra field in the local file data - without
Header-ID or length specifier.
- getLocalFileDataLength() - Method in class org.zeroturnaround.zip.extra.UnrecognizedExtraField
-
Get the length of the local data.
- getLocalFileDataLength() - Method in interface org.zeroturnaround.zip.extra.ZipExtraField
-
Length of the extra field in the local file data - without
Header-ID or length specifier.
- getMode() - Method in class org.zeroturnaround.zip.extra.AsiExtraField
-
File mode of this file.
- getMode(int) - Method in class org.zeroturnaround.zip.extra.AsiExtraField
-
Get the file mode for given permissions with the correct file type.
- getPath() - Method in class org.zeroturnaround.zip.ByteSource
-
- getPath() - Method in class org.zeroturnaround.zip.FileSource
-
- getPath() - Method in class org.zeroturnaround.zip.transform.ZipEntryTransformerEntry
-
- getPath() - Method in interface org.zeroturnaround.zip.ZipEntrySource
-
- getPermissions(File) - Method in interface org.zeroturnaround.zip.ZTFilePermissionsStrategy
-
Get ZTFilePermissions
from file.
- getPrefixLength(String) - Static method in class org.zeroturnaround.zip.commons.FilenameUtils
-
Returns the length of the filename prefix, such as C:/
or ~/
.
- getTempFileFor(File) - Static method in class org.zeroturnaround.zip.commons.FileUtils
-
Find a non-existing file in the same directory using the same name as prefix.
- getTransformer() - Method in class org.zeroturnaround.zip.transform.ZipEntryTransformerEntry
-
- getUserId() - Method in class org.zeroturnaround.zip.extra.AsiExtraField
-
Get the user id.
- getValue() - Method in class org.zeroturnaround.zip.extra.ZipLong
-
Get value as Java long.
- getValue(byte[], int) - Static method in class org.zeroturnaround.zip.extra.ZipLong
-
Helper method to get the value as a Java long from four bytes starting at given array offset
- getValue(byte[]) - Static method in class org.zeroturnaround.zip.extra.ZipLong
-
Helper method to get the value as a Java long from a four-byte array
- getValue() - Method in class org.zeroturnaround.zip.extra.ZipShort
-
Get value as Java int.
- getValue(byte[], int) - Static method in class org.zeroturnaround.zip.extra.ZipShort
-
Helper method to get the value as a java int from two bytes starting at given array offset
- getValue(byte[]) - Static method in class org.zeroturnaround.zip.extra.ZipShort
-
Helper method to get the value as a java int from a two-byte array
- IOUtils - Class in org.zeroturnaround.zip.commons
-
This is a class that has been made significantly smaller (deleted a bunch of methods) and originally
is from the Apache Commons IO 2.2 package (the latest version that supports Java 1.5).
- IOUtils() - Constructor for class org.zeroturnaround.zip.commons.IOUtils
-
Instances should NOT be constructed in standard programming.
- isDirectory() - Method in class org.zeroturnaround.zip.extra.AsiExtraField
-
Is this entry a directory?
- isLink() - Method in class org.zeroturnaround.zip.extra.AsiExtraField
-
Is this entry a symbolic link?
- isSymlink(File) - Static method in class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Determines whether the specified file is a Symbolic Link rather than an actual file.
- iterate(ZipEntryCallback) - Method in class org.zeroturnaround.zip.Zips
-
Reads the source ZIP file and executes the given callback for each entry.
- iterate(ZipInfoCallback) - Method in class org.zeroturnaround.zip.Zips
-
Scans the source ZIP file and executes the given callback for each entry.
- iterate(File, ZipEntryCallback) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Reads the given ZIP file and executes the given action for each entry.
- iterate(File, ZipEntryCallback, Charset) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Reads the given ZIP file and executes the given action for each entry.
- iterate(File, String[], ZipEntryCallback) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Reads the given ZIP file and executes the given action for each given entry.
- iterate(File, String[], ZipEntryCallback, Charset) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Reads the given ZIP file and executes the given action for each given entry.
- iterate(File, ZipInfoCallback) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Scans the given ZIP file and executes the given action for each entry.
- iterate(File, String[], ZipInfoCallback) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Scans the given ZIP file and executes the given action for each given entry.
- iterate(InputStream, ZipEntryCallback, Charset) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Reads the given ZIP stream and executes the given action for each entry.
- iterate(InputStream, ZipEntryCallback) - Static method in class org.zeroturnaround.zip.ZipUtil
-
- iterate(InputStream, String[], ZipEntryCallback, Charset) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Reads the given ZIP stream and executes the given action for each given entry.
- iterate(InputStream, String[], ZipEntryCallback) - Static method in class org.zeroturnaround.zip.ZipUtil
-
- pack(File, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given directory and all its sub-directories into a ZIP file.
- pack(File, File, int) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given directory and all its sub-directories into a ZIP file.
- pack(File, File, boolean) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given directory and all its sub-directories into a ZIP file.
- pack(File, File, NameMapper) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given directory and all its sub-directories into a ZIP file.
- pack(File, File, NameMapper, int) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given directory and all its sub-directories into a ZIP file.
- pack(File, OutputStream) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given directory and all of its sub-directories into the passed in
stream.
- pack(File, OutputStream, int) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given directory and all of its sub-directories into the passed in
stream.
- pack(File, OutputStream, NameMapper) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given directory and all of its sub-directories into the passed in
stream.
- pack(File, OutputStream, NameMapper, int) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given directory and all of its sub-directories into the passed in
stream.
- pack(ZipEntrySource[], OutputStream) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given entries into an output stream.
- pack(ZipEntrySource[], File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given entries into a new ZIP file.
- packEntries(File[], File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given files into a ZIP file.
- packEntries(File[], File, NameMapper) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given files into a ZIP file.
- packEntries(File[], File, int) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given files into a ZIP file.
- packEntries(File[], File, NameMapper, int) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given files into a ZIP file.
- packEntry(File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given file into a ZIP file with single entry.
- packEntry(File, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given file into a ZIP file.
- packEntry(File, File, String) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given file into a ZIP file.
- packEntry(File, File, NameMapper) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses the given file into a ZIP file.
- pair(File[], String[]) - Static method in class org.zeroturnaround.zip.FileSource
-
Creates a sequence of FileSource objects via mapping
a sequence of files to the sequence of corresponding names
for the entries
- parse(byte[]) - Static method in class org.zeroturnaround.zip.extra.ExtraFieldUtils
-
Split the array into ExtraFields and populate them with the
given data as local file data, throwing an exception if the
data cannot be parsed.
- parseA(byte[]) - Static method in class org.zeroturnaround.zip.extra.ExtraFieldUtils
-
- parseFromCentralDirectoryData(byte[], int, int) - Method in class org.zeroturnaround.zip.extra.UnrecognizedExtraField
-
- parseFromLocalFileData(byte[], int, int) - Method in class org.zeroturnaround.zip.extra.AsiExtraField
-
Populate data from this array as if it was in local file data.
- parseFromLocalFileData(byte[], int, int) - Method in class org.zeroturnaround.zip.extra.UnrecognizedExtraField
-
- parseFromLocalFileData(byte[], int, int) - Method in interface org.zeroturnaround.zip.extra.ZipExtraField
-
Populate data from this array as if it was in local file data.
- PreJava8TimestampStrategy - Class in org.zeroturnaround.zip.timestamps
-
Setting the timestamp in pre-java-8 environments.
- PreJava8TimestampStrategy() - Constructor for class org.zeroturnaround.zip.timestamps.PreJava8TimestampStrategy
-
- preserveTimestamps() - Method in class org.zeroturnaround.zip.transform.ByteArrayZipEntryTransformer
-
Override to return true if needed.
- preserveTimestamps() - Method in class org.zeroturnaround.zip.Zips
-
Enables timestamp preserving for this Zips execution
- process(InputStream, ZipEntry) - Method in interface org.zeroturnaround.zip.ZipEntryCallback
-
Invoked for each entry in a ZIP file.
- process(ZipEntry) - Method in interface org.zeroturnaround.zip.ZipInfoCallback
-
Invoked for each entry in a ZIP file.
- process() - Method in class org.zeroturnaround.zip.Zips
-
Iterates through source Zip entries removing or changing them according to
set parameters.
- process(InputStream, ZipEntry) - Method in class org.zeroturnaround.zip.ZipUtil.BackslashUnpacker
-
- readFileToString(File, String) - Static method in class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Reads the contents of a file into a String.
- readFileToString(File) - Static method in class org.zeroturnaround.zip.commons.FileUtilsV2_2
-
Reads the contents of a file into a String using the default encoding for the VM.
- register(Class<?>) - Static method in class org.zeroturnaround.zip.extra.ExtraFieldUtils
-
Register a ZipExtraField implementation.
- removeEntries(String[]) - Method in class org.zeroturnaround.zip.Zips
-
Specifies entries to remove to the output when this Zips executes.
- removeEntries(File, String[], File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and removes entries with given paths.
- removeEntries(File, String[]) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes an existing ZIP file: removes entries with given paths.
- removeEntry(String) - Method in class org.zeroturnaround.zip.Zips
-
Specifies an entry to remove to the output when this Zips executes.
- removeEntry(File, String, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and removes entry with a given path.
- removeEntry(File, String) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes an existing ZIP file: removes entry with a given path.
- repack(File, File, int) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Repacks a provided ZIP file into a new ZIP with a given compression level.
- repack(InputStream, File, int) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Repacks a provided ZIP input stream into a ZIP file with a given compression level.
- repack(File, int) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Repacks a provided ZIP file and replaces old file with the new one.
- replaceEntries(File, ZipEntrySource[], File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and replaces the given entries in it.
- replaceEntries(File, ZipEntrySource[]) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes an existing ZIP file: replaces a given entry in it.
- replaceEntry(File, String, File, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and replaces a given entry in it.
- replaceEntry(File, String, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes an existing ZIP file: replaces a given entry in it.
- replaceEntry(File, String, byte[], File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and replaces a given entry in it.
- replaceEntry(File, String, byte[]) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes an existing ZIP file: replaces a given entry in it.
- replaceEntry(File, String, byte[], int) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes an existing ZIP file: replaces a given entry in it.
- replaceEntry(File, ZipEntrySource, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and replaces a given entry in it.
- replaceEntry(File, ZipEntrySource) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes an existing ZIP file: replaces a given entry in it.
- TimestampStrategy - Interface in org.zeroturnaround.zip.timestamps
-
Strategy that we use to differentiate between JDK8 and older JDK
ZipEntry method calls.
- TimestampStrategyFactory - Class in org.zeroturnaround.zip.timestamps
-
The getInstance() of this method will return a JDK8 implementation when
running on JVM 8 and a no operation instance when running on older JVM.
- toByteArray(InputStream) - Static method in class org.zeroturnaround.zip.commons.IOUtils
-
Get the contents of an InputStream
as a byte[]
.
- toString() - Method in class org.zeroturnaround.zip.ByteSource
-
- toString(InputStream, String) - Static method in class org.zeroturnaround.zip.commons.IOUtils
-
Get the contents of an InputStream
as a String
using the specified character encoding.
- toString() - Method in class org.zeroturnaround.zip.commons.StringBuilderWriter
-
- toString() - Method in class org.zeroturnaround.zip.extra.ZipLong
-
- toString() - Method in class org.zeroturnaround.zip.extra.ZipShort
-
- toString() - Method in class org.zeroturnaround.zip.FileSource
-
- toString() - Method in class org.zeroturnaround.zip.transform.ZipEntryTransformerEntry
-
- transform(ZipEntry, byte[]) - Method in class org.zeroturnaround.zip.transform.ByteArrayZipEntryTransformer
-
Transforms the given byte array into a new one.
- transform(InputStream, ZipEntry, ZipOutputStream) - Method in class org.zeroturnaround.zip.transform.ByteArrayZipEntryTransformer
-
Transforms the zip entry given as an input stream and ZipEntry metadata.
- transform(ZipEntry, File, File) - Method in class org.zeroturnaround.zip.transform.FileZipEntryTransformer
-
Copies and transforms the given file into the output file.
- transform(InputStream, ZipEntry, ZipOutputStream) - Method in class org.zeroturnaround.zip.transform.FileZipEntryTransformer
-
Copies the input stream to the file, then transforms the file.
- transform(ZipEntry, InputStream, OutputStream) - Method in class org.zeroturnaround.zip.transform.StreamZipEntryTransformer
-
Copies and transforms the given input stream into the output stream.
- transform(InputStream, ZipEntry, ZipOutputStream) - Method in class org.zeroturnaround.zip.transform.StreamZipEntryTransformer
-
Transforms the input stream entry, writes that to output stream, closes entry in the output stream.
- transform(ZipEntry, String) - Method in class org.zeroturnaround.zip.transform.StringZipEntryTransformer
-
Transforms the given String into a new one.
- transform(InputStream, ZipEntry, ZipOutputStream) - Method in class org.zeroturnaround.zip.transform.StringZipEntryTransformer
-
- transform(InputStream, ZipEntry, ZipOutputStream) - Method in class org.zeroturnaround.zip.transform.ZipEntrySourceZipEntryTransformer
-
- transform(InputStream, ZipEntry, ZipOutputStream) - Method in interface org.zeroturnaround.zip.transform.ZipEntryTransformer
-
Transforms the zip entry given as an input stream and ZipEntry metadata.
- transformEntries(File, ZipEntryTransformerEntry[], File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and transforms the given entries in it.
- transformEntries(File, ZipEntryTransformerEntry[]) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes an existing ZIP file: transforms a given entries in it.
- transformEntries(InputStream, ZipEntryTransformerEntry[], OutputStream) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and transforms the given entries in it.
- transformEntry(File, String, ZipEntryTransformer, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and transforms a given entry in it.
- transformEntry(File, String, ZipEntryTransformer) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes an existing ZIP file: transforms a given entry in it.
- transformEntry(File, ZipEntryTransformerEntry, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and transforms a given entry in it.
- transformEntry(File, ZipEntryTransformerEntry) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Changes an existing ZIP file: transforms a given entry in it.
- transformEntry(InputStream, String, ZipEntryTransformer, OutputStream) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and transforms a given entry in it.
- transformEntry(InputStream, ZipEntryTransformerEntry, OutputStream) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Copies an existing ZIP file and transforms a given entry in it.
- unexplode(File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses a given directory in its own location.
- unexplode(File, int) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compresses a given directory in its own location.
- unpack() - Method in class org.zeroturnaround.zip.Zips
-
- unpack(File, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a ZIP file to the given directory.
- unpack(File, File, Charset) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a ZIP file to the given directory using a specific Charset
for the input file.
- unpack(File, File, NameMapper, Charset) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a ZIP file to the given directory.
- unpack(File, File, NameMapper) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a ZIP file to the given directory using a specific Charset
for the input file.
- unpack(InputStream, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a ZIP stream to the given directory.
- unpack(InputStream, File, Charset) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a ZIP stream to the given directory.
- unpack(InputStream, File, NameMapper) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a ZIP stream to the given directory.
- unpack(InputStream, File, NameMapper, Charset) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a ZIP stream to the given directory.
- unpackEntry(File, String) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a single entry from a ZIP file.
- unpackEntry(File, String, Charset) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a single entry from a ZIP file.
- unpackEntry(ZipFile, String) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a single entry from a ZIP file.
- unpackEntry(InputStream, String) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a single entry from a ZIP stream.
- unpackEntry(File, String, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a single file from a ZIP archive to a file.
- unpackEntry(File, String, File, Charset) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a single file from a ZIP archive to a file.
- unpackEntry(ZipFile, String, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a single file from a ZIP archive to a file.
- unpackEntry(InputStream, String, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a single file from a ZIP stream to a file.
- UnrecognizedExtraField - Class in org.zeroturnaround.zip.extra
-
This is a class that has been made significantly smaller (deleted a bunch of methods) and originally
is from the Apache Ant Project (http://ant.apache.org), org.apache.tools.zip package.
- UnrecognizedExtraField() - Constructor for class org.zeroturnaround.zip.extra.UnrecognizedExtraField
-
- unwrap(File, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unwraps a ZIP file to the given directory shaving of root dir.
- unwrap(File, File, NameMapper) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unwraps a ZIP file to the given directory shaving of root dir.
- unwrap(InputStream, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unwraps a ZIP file to the given directory shaving of root dir.
- unwrap(InputStream, File, NameMapper) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unwraps a ZIP file to the given directory shaving of root dir.
- ZipBreakException - Exception in org.zeroturnaround.zip
-
- ZipBreakException(String) - Constructor for exception org.zeroturnaround.zip.ZipBreakException
-
- ZipBreakException(Exception) - Constructor for exception org.zeroturnaround.zip.ZipBreakException
-
- ZipBreakException() - Constructor for exception org.zeroturnaround.zip.ZipBreakException
-
- ZipEntryCallback - Interface in org.zeroturnaround.zip
-
Call-back for traversing ZIP entries with their contents.
- ZipEntrySource - Interface in org.zeroturnaround.zip
-
ZIP entry with its contents.
- ZipEntrySourceZipEntryTransformer - Class in org.zeroturnaround.zip.transform
-
- ZipEntrySourceZipEntryTransformer(ZipEntrySource) - Constructor for class org.zeroturnaround.zip.transform.ZipEntrySourceZipEntryTransformer
-
- ZipEntryTransformer - Interface in org.zeroturnaround.zip.transform
-
Call-back for traversing ZIP entries with their contents and producing a new ZIP file as an output.
- ZipEntryTransformerEntry - Class in org.zeroturnaround.zip.transform
-
A transformer assigned to a certain ZIP entry.
- ZipEntryTransformerEntry(String, ZipEntryTransformer) - Constructor for class org.zeroturnaround.zip.transform.ZipEntryTransformerEntry
-
- ZipException - Exception in org.zeroturnaround.zip
-
- ZipException(String) - Constructor for exception org.zeroturnaround.zip.ZipException
-
- ZipException(Exception) - Constructor for exception org.zeroturnaround.zip.ZipException
-
- ZipException(String, Throwable) - Constructor for exception org.zeroturnaround.zip.ZipException
-
- ZipExtraField - Interface in org.zeroturnaround.zip.extra
-
This is a class that has been made significantly smaller (deleted a bunch of methods) and originally
is from the Apache Ant Project (http://ant.apache.org), org.apache.tools.zip package.
- ZipInfoCallback - Interface in org.zeroturnaround.zip
-
Call-back for traversing ZIP entries without their contents.
- ZipLong - Class in org.zeroturnaround.zip.extra
-
This is a class that has been made significantly smaller (deleted a bunch of methods) and originally
is from the Apache Ant Project (http://ant.apache.org), org.apache.tools.zip package.
- ZipLong(long) - Constructor for class org.zeroturnaround.zip.extra.ZipLong
-
Create instance from a number.
- ZipLong(byte[]) - Constructor for class org.zeroturnaround.zip.extra.ZipLong
-
Create instance from bytes.
- ZipLong(byte[], int) - Constructor for class org.zeroturnaround.zip.extra.ZipLong
-
Create instance from the four bytes starting at offset.
- Zips - Class in org.zeroturnaround.zip
-
Fluent api for zip handling.
- ZipShort - Class in org.zeroturnaround.zip.extra
-
This is a class that has been made significantly smaller (deleted a bunch of methods) and originally
is from the Apache Ant Project (http://ant.apache.org), org.apache.tools.zip package.
- ZipShort(int) - Constructor for class org.zeroturnaround.zip.extra.ZipShort
-
Create instance from a number.
- ZipShort(byte[]) - Constructor for class org.zeroturnaround.zip.extra.ZipShort
-
Create instance from bytes.
- ZipShort(byte[], int) - Constructor for class org.zeroturnaround.zip.extra.ZipShort
-
Create instance from the two bytes starting at offset.
- ZipUtil - Class in org.zeroturnaround.zip
-
ZIP file manipulation utilities.
- ZipUtil.BackslashUnpacker - Class in org.zeroturnaround.zip
-
Unpacks each ZIP entries.
- ZTFilePermissionsStrategy - Interface in org.zeroturnaround.zip
-
Maps ZTFilePermissions
to real filesystem-specific file attributes.
- ZTFileUtil - Class in org.zeroturnaround.zip
-