org.jvnet.hudson.plugins.thinbackup.backup
Class DirectoriesZipper
java.lang.Object
org.apache.commons.io.DirectoryWalker
org.jvnet.hudson.plugins.thinbackup.backup.DirectoriesZipper
- All Implemented Interfaces:
- Closeable
public class DirectoriesZipper
- extends org.apache.commons.io.DirectoryWalker
- implements Closeable
| Nested classes/interfaces inherited from class org.apache.commons.io.DirectoryWalker |
org.apache.commons.io.DirectoryWalker.CancelException |
| Methods inherited from class org.apache.commons.io.DirectoryWalker |
checkIfCancelled, handleCancelled, handleDirectory, handleDirectoryEnd, handleDirectoryStart, handleEnd, handleIsCancelled, handleRestricted, handleStart, walk |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUFFER_SIZE
public static final int BUFFER_SIZE
- See Also:
- Constant Field Values
DirectoriesZipper
public DirectoriesZipper(File zipFile)
throws IOException
- Throws:
IOException
addToZip
public void addToZip(File directory)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable
- Throws:
IOException
handleFile
protected void handleFile(File file,
int depth,
Collection results)
- Overrides:
handleFile in class org.apache.commons.io.DirectoryWalker
Copyright © 2004-2013. All Rights Reserved.