Package proguard.io
Class DirectorySource
- java.lang.Object
-
- proguard.io.DirectorySource
-
- All Implemented Interfaces:
DataEntrySource
public class DirectorySource extends java.lang.Object implements DataEntrySource
This DataEntrySource can read a given file or directory, recursively, passing its files asDataEntry
instances toDataEntryReader
instances.
-
-
Constructor Summary
Constructors Constructor Description DirectorySource(java.io.File directory)
Creates a new DirectorySource for the given directory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
pumpDataEntries(DataEntryReader dataEntryReader)
Applies the given DataEntryReader to all data entries that the implementation can provide.
-
-
-
Method Detail
-
pumpDataEntries
public void pumpDataEntries(DataEntryReader dataEntryReader) throws java.io.IOException
Description copied from interface:DataEntrySource
Applies the given DataEntryReader to all data entries that the implementation can provide.- Specified by:
pumpDataEntries
in interfaceDataEntrySource
- Throws:
java.io.IOException
-
-