proguard.io
Class DirectoryFilter

java.lang.Object
  extended by proguard.io.FilteredDataEntryReader
      extended by proguard.io.DirectoryFilter
All Implemented Interfaces:
DataEntryReader

public class DirectoryFilter
extends FilteredDataEntryReader

This DataEntryReader delegates to one of two other DataEntryReader instances, depending on whether the data entry represents a directory or not.


Constructor Summary
DirectoryFilter(DataEntryReader directoryReader)
          Creates a new ClassFilter that delegates reading directories to the given reader.
DirectoryFilter(DataEntryReader directoryReader, DataEntryReader otherReader)
          Creates a new ClassFilter that delegates to either of the two given readers.
 
Method Summary
 
Methods inherited from class proguard.io.FilteredDataEntryReader
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryFilter

public DirectoryFilter(DataEntryReader directoryReader)
Creates a new ClassFilter that delegates reading directories to the given reader.


DirectoryFilter

public DirectoryFilter(DataEntryReader directoryReader,
                       DataEntryReader otherReader)
Creates a new ClassFilter that delegates to either of the two given readers.