ProGuard

proguard.io
Class DirectoryPump

java.lang.Object
  extended byproguard.io.DirectoryPump
All Implemented Interfaces:
DataEntryPump

public class DirectoryPump
extends Object
implements DataEntryPump

This class can read a given file or directory, recursively, applying a given DataEntryReader to all files it comes across.


Constructor Summary
DirectoryPump(File directory)
           
 
Method Summary
 void pumpDataEntries(DataEntryReader dataEntryReader)
          Applies the given DataEntryReader to all data entries that the implementation can provide.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryPump

public DirectoryPump(File directory)
Method Detail

pumpDataEntries

public void pumpDataEntries(DataEntryReader dataEntryReader)
                     throws IOException
Description copied from interface: DataEntryPump
Applies the given DataEntryReader to all data entries that the implementation can provide.

Specified by:
pumpDataEntries in interface DataEntryPump
Throws:
IOException

ProGuard