public class DirectoriesZipper extends org.apache.commons.io.DirectoryWalker<Object> implements Closeable
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_SIZE |
| Constructor and Description |
|---|
DirectoriesZipper(File zipFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToZip(File directory) |
void |
close() |
protected void |
handleFile(File file,
int depth,
Collection<Object> results) |
public static final int BUFFER_SIZE
public DirectoriesZipper(File zipFile) throws IOException
IOExceptionpublic void addToZip(File directory) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionprotected void handleFile(File file, int depth, Collection<Object> results)
handleFile in class org.apache.commons.io.DirectoryWalker<Object>Copyright © 2004-2016. All Rights Reserved.