proguard.io
Class ClassFilter

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

public class ClassFilter
extends FilteredDataEntryReader

This DataEntryReader delegates to one of two other DataEntryReader instances, depending on the extension of the data entry.


Constructor Summary
ClassFilter(DataEntryReader classReader)
          Creates a new ClassFilter that delegates reading classes to the given reader.
ClassFilter(DataEntryReader classReader, DataEntryReader dataEntryReader)
          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

ClassFilter

public ClassFilter(DataEntryReader classReader)
Creates a new ClassFilter that delegates reading classes to the given reader.


ClassFilter

public ClassFilter(DataEntryReader classReader,
                   DataEntryReader dataEntryReader)
Creates a new ClassFilter that delegates to either of the two given readers.