Package proguard.io
Class DirectorySource
java.lang.Object
proguard.io.DirectorySource
- All Implemented Interfaces:
DataEntrySource
This DataEntrySource can read a given file or directory, recursively, passing its files as
DataEntry instances to DataEntryReader instances.-
Constructor Summary
ConstructorsConstructorDescriptionDirectorySource(File directory) Creates a new DirectorySource for the given directory. -
Method Summary
Modifier and TypeMethodDescriptionvoidpumpDataEntries(DataEntryReader dataEntryReader) Applies the given DataEntryReader to all data entries that the implementation can provide.
-
Constructor Details
-
DirectorySource
Creates a new DirectorySource for the given directory.
-
-
Method Details
-
pumpDataEntries
Description copied from interface:DataEntrySourceApplies the given DataEntryReader to all data entries that the implementation can provide.- Specified by:
pumpDataEntriesin interfaceDataEntrySource- Throws:
IOException
-