- 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[]) - 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[]) - 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.
- archiveEquals(File, File) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Compares two ZIP files and returns true if they contain same
entries.
- 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.FileUtils
-
Cleans a directory without deleting it.
- 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(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.FileUtils
-
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.FileUtils
-
Copies a whole directory to a new location preserving the file dates.
- copyDirectory(File, File, boolean) - Static method in class org.zeroturnaround.zip.commons.FileUtils
-
Copies a whole directory to a new location.
- copyDirectory(File, File, FileFilter, boolean) - Static method in class org.zeroturnaround.zip.commons.FileUtils
-
Copies a filtered directory to a new location.
- copyFile(File, File) - Static method in class org.zeroturnaround.zip.commons.FileUtils
-
Copies a file to a new location preserving the file date.
- copyFile(File, File, boolean) - Static method in class org.zeroturnaround.zip.commons.FileUtils
-
Copies a file to a new location.
- copyFileToDirectory(File, File) - Static method in class org.zeroturnaround.zip.commons.FileUtils
-
Copies a file to a directory preserving the file date.
- copyFileToDirectory(File, File, boolean) - Static method in class org.zeroturnaround.zip.commons.FileUtils
-
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(Reader, Writer) - 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.
- 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(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.
- 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
- 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.
- readFileToString(File, String) - Static method in class org.zeroturnaround.zip.commons.FileUtils
-
Reads the contents of a file into a String.
- readFileToString(File) - Static method in class org.zeroturnaround.zip.commons.FileUtils
-
Reads the contents of a file into a String using the default encoding for the VM.
- 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, 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.
- 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.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
-
- 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
-
- 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
-
- 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
-
Copies and transforms the given entry into the ZIP output stream.
- 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, NameMapper) - Static method in class org.zeroturnaround.zip.ZipUtil
-
Unpacks a ZIP file to the given directory.
- unpack(InputStream, File) - 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.
- unpackEntry(File, String) - 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(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.
- 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.