A B C D E F G H I M N O P R S T U Z

A

addEntries(File, ZipEntrySource[], File) - Static method in class org.zeroturnaround.zip.ZipUtil
Copies an existing ZIP file and appends it with new entries.
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, byte[], File) - Static method in class org.zeroturnaround.zip.ZipUtil
Copies an existing ZIP file and appends it with one new entry.
addEntry(File, ZipEntrySource, File) - Static method in class org.zeroturnaround.zip.ZipUtil
Copies an existing ZIP file and appends it with one new 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.
archiveEquals(File, File) - Static method in class org.zeroturnaround.zip.ZipUtil
Compares two ZIP files and returns true if they contain same entries.

B

ByteArrayZipEntryTransformer - Class in org.zeroturnaround.zip.transform
 
ByteArrayZipEntryTransformer() - Constructor for class org.zeroturnaround.zip.transform.ByteArrayZipEntryTransformer
 
ByteSource - Class in org.zeroturnaround.zip
 
ByteSource(String, byte[]) - Constructor for class org.zeroturnaround.zip.ByteSource
 
ByteSource(String, byte[], long) - Constructor for class org.zeroturnaround.zip.ByteSource
 

C

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(File, String) - Static method in class org.zeroturnaround.zip.ZipUtil
Checks if the ZIP file contains the given entry.

D

DEFAULT_COMPRESSION_LEVEL - Static variable in class org.zeroturnaround.zip.ZipUtil
Default compression level

E

entryEquals(File, File, String) - Static method in class org.zeroturnaround.zip.ZipUtil
Compares same entry in two ZIP files (byte-by-byte).
entryEquals(File, File, String, String) - Static method in class org.zeroturnaround.zip.ZipUtil
Compares two ZIP entries (byte-by-byte).
entryEquals(ZipFile, ZipFile, String, String) - Static method in class org.zeroturnaround.zip.ZipUtil
Compares two ZIP entries (byte-by-byte).
explode(File) - Static method in class org.zeroturnaround.zip.ZipUtil
Unpacks a ZIP file to its own location.

F

FileSource - Class in org.zeroturnaround.zip
 
FileSource(String, File) - Constructor for class org.zeroturnaround.zip.FileSource
 
FileZipEntryTransformer - Class in org.zeroturnaround.zip.transform
 
FileZipEntryTransformer() - Constructor for class org.zeroturnaround.zip.transform.FileZipEntryTransformer
 

G

getEntry() - Method in class org.zeroturnaround.zip.ByteSource
 
getEntry() - Method in class org.zeroturnaround.zip.FileSource
 
getEntry() - Method in interface org.zeroturnaround.zip.ZipEntrySource
 
getInputStream() - Method in class org.zeroturnaround.zip.ByteSource
 
getInputStream() - Method in class org.zeroturnaround.zip.FileSource
 
getInputStream() - Method in interface org.zeroturnaround.zip.ZipEntrySource
 
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
 
getTransformer() - Method in class org.zeroturnaround.zip.transform.ZipEntryTransformerEntry
 

H

handle(File, String, ZipEntryCallback) - Static method in class org.zeroturnaround.zip.ZipUtil
Reads the given ZIP file and executes the given action for a single entry.
handle(InputStream, String, ZipEntryCallback) - Static method in class org.zeroturnaround.zip.ZipUtil
Reads the given ZIP stream and executes the given action for a single entry.

I

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, ZipInfoCallback) - Static method in class org.zeroturnaround.zip.ZipUtil
Scans the given ZIP file and executes the given action for each entry.
iterate(InputStream, ZipEntryCallback) - Static method in class org.zeroturnaround.zip.ZipUtil
Reads the given ZIP stream and executes the given action for each entry.

M

map(String) - Method in interface org.zeroturnaround.zip.NameMapper
 

N

NameMapper - Interface in org.zeroturnaround.zip
Call-back for filtering and renaming ZIP entries while packing or unpacking.

O

org.zeroturnaround.zip - package org.zeroturnaround.zip
 
org.zeroturnaround.zip.transform - package org.zeroturnaround.zip.transform
 

P

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.
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.
preserveTimestamps() - Method in class org.zeroturnaround.zip.transform.ByteArrayZipEntryTransformer
Override to return true if needed.
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.

R

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.
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, byte[], File) - Static method in class org.zeroturnaround.zip.ZipUtil
Copies an existing ZIP file and 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.

S

StreamZipEntryTransformer - Class in org.zeroturnaround.zip.transform
 
StreamZipEntryTransformer() - Constructor for class org.zeroturnaround.zip.transform.StreamZipEntryTransformer
 
StringZipEntryTransformer - Class in org.zeroturnaround.zip.transform
 
StringZipEntryTransformer() - Constructor for class org.zeroturnaround.zip.transform.StringZipEntryTransformer
 
StringZipEntryTransformer(String) - Constructor for class org.zeroturnaround.zip.transform.StringZipEntryTransformer
 

T

toString() - Method in class org.zeroturnaround.zip.ByteSource
 
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(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, ZipEntryTransformerEntry, File) - Static method in class org.zeroturnaround.zip.ZipUtil
Copies an existing ZIP file and 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.

U

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(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.

Z

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
 
ZipInfoCallback - Interface in org.zeroturnaround.zip
Call-back for traversing ZIP entries without their contents.
ZipUtil - Class in org.zeroturnaround.zip
ZIP file manipulation utilities.

A B C D E F G H I M N O P R S T U Z

Copyright © 2013 ZeroTurnaround. All Rights Reserved.