proguard.io
Class NameFilter

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

public class NameFilter
extends FilteredDataEntryReader

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


Constructor Summary
NameFilter(java.util.List regularExpressions, DataEntryReader acceptedDataEntryReader)
          Creates a new NameFilter that delegates to the given reader, depending on the given list of filters.
NameFilter(java.util.List regularExpressions, DataEntryReader acceptedDataEntryReader, DataEntryReader rejectedDataEntryReader)
          Creates a new NameFilter that delegates to either of the two given readers, depending on the given list of filters.
NameFilter(java.lang.String regularExpression, DataEntryReader acceptedDataEntryReader)
          Creates a new NameFilter that delegates to the given reader, depending on the given list of filters.
NameFilter(java.lang.String regularExpression, DataEntryReader acceptedDataEntryReader, DataEntryReader rejectedDataEntryReader)
          Creates a new NameFilter that delegates to either of the two given readers, depending on the given list of filters.
 
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

NameFilter

public NameFilter(java.lang.String regularExpression,
                  DataEntryReader acceptedDataEntryReader)
Creates a new NameFilter that delegates to the given reader, depending on the given list of filters.


NameFilter

public NameFilter(java.lang.String regularExpression,
                  DataEntryReader acceptedDataEntryReader,
                  DataEntryReader rejectedDataEntryReader)
Creates a new NameFilter that delegates to either of the two given readers, depending on the given list of filters.


NameFilter

public NameFilter(java.util.List regularExpressions,
                  DataEntryReader acceptedDataEntryReader)
Creates a new NameFilter that delegates to the given reader, depending on the given list of filters.


NameFilter

public NameFilter(java.util.List regularExpressions,
                  DataEntryReader acceptedDataEntryReader,
                  DataEntryReader rejectedDataEntryReader)
Creates a new NameFilter that delegates to either of the two given readers, depending on the given list of filters.