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:
Closeable

public class DirectoriesZipper
extends org.apache.commons.io.DirectoryWalker
implements 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(File zipFile)
           
 
Method Summary
 void addToZip(File directory)
           
 void close()
           
protected  void handleFile(File file, int depth, 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(File zipFile)
                  throws IOException
Throws:
IOException
Method Detail

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-2012 Borland (a Microfocus Company). All Rights Reserved.