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:
- java.io.Closeable
public class DirectoriesZipper
- extends org.apache.commons.io.DirectoryWalker
- implements java.io.Closeable
| Nested classes/interfaces inherited from class org.apache.commons.io.DirectoryWalker |
org.apache.commons.io.DirectoryWalker.CancelException |
|
Method Summary |
void |
addToZip(java.io.File directory)
|
void |
close()
|
protected void |
handleFile(java.io.File file,
int depth,
java.util.Collection results)
|
| 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(java.io.File zipFile)
throws java.io.IOException
- Throws:
java.io.IOException
addToZip
public void addToZip(java.io.File directory)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close in interface java.io.Closeable
- Throws:
java.io.IOException
handleFile
protected void handleFile(java.io.File file,
int depth,
java.util.Collection results)
- Overrides:
handleFile in class org.apache.commons.io.DirectoryWalker
Copyright © 2004-2013. All Rights Reserved.