public class ZipFileCollection extends java.lang.Object implements FileCollection
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
ZipFileCollection.Walker |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.io.File |
file |
(package private) java.util.zip.ZipFile |
zipFile |
| Constructor and Description |
|---|
ZipFileCollection(java.io.File file) |
| Modifier and Type | Method and Description |
|---|---|
ZipFileCollection.Walker |
createWalker(java.lang.String extension)
create a
FileCollection.Walker object that allows to iterate the file
collection. |
ZipFileCollection.Walker |
createWalker(java.lang.String[] extensions)
create a
FileCollection.Walker object that allows to iterate the file
collection. |
java.lang.String |
toString() |
public ZipFileCollection.Walker createWalker(java.lang.String[] extensions) throws java.io.IOException
FileCollectionFileCollection.Walker object that allows to iterate the file
collection.
The search can be restricted to files with a certain extension. If this
is not desired, one specifies null for the extension.createWalker in interface FileCollectionextensions - file extensions to be considered only. null if all files
are to be considered.java.io.IOException - during opening resourcespublic ZipFileCollection.Walker createWalker(java.lang.String extension) throws java.io.IOException
FileCollectionFileCollection.Walker object that allows to iterate the file
collection.
The search can be restricted to files with a certain extension. If this
is not desired, one specifies null for the extension.createWalker in interface FileCollectionextension - file extension to be considered only. null if all files
are to be considered.java.io.IOException - during opening resourcespublic java.lang.String toString()
toString in class java.lang.Object