proguard.io
Class DirectoryPump
java.lang.Object
proguard.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.
|
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 |
DirectoryPump
public DirectoryPump(File directory)
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