org.jvnet.hudson.plugins.thinbackup.backup
Class DirectoriesZipper

java.lang.Object
  extended by org.apache.commons.io.DirectoryWalker
      extended by 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 Class Summary
 
Nested classes/interfaces inherited from class org.apache.commons.io.DirectoryWalker
org.apache.commons.io.DirectoryWalker.CancelException
 
Field Summary
static int BUFFER_SIZE
           
 
Constructor Summary
DirectoriesZipper(java.io.File zipFile)
           
 
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
 

Field Detail

BUFFER_SIZE

public static final int BUFFER_SIZE
See Also:
Constant Field Values
Constructor Detail

DirectoriesZipper

public DirectoriesZipper(java.io.File zipFile)
                  throws java.io.IOException
Throws:
java.io.IOException
Method Detail

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.