Package proguard.io

Class NameFilteredDataEntryWriter

java.lang.Object
proguard.io.FilteredDataEntryWriter
proguard.io.NameFilteredDataEntryWriter
All Implemented Interfaces:
AutoCloseable, DataEntryWriter

public class NameFilteredDataEntryWriter extends FilteredDataEntryWriter
This DataEntryWriter delegates to one of two other DataEntryWriter instances, depending on the name of the data entry.
  • Constructor Details

    • NameFilteredDataEntryWriter

      public NameFilteredDataEntryWriter(String regularExpression, DataEntryWriter acceptedDataEntryWriter)
      Creates a new NameFilteredDataEntryWriter that delegates to the given writer, depending on the given list of filters.
    • NameFilteredDataEntryWriter

      public NameFilteredDataEntryWriter(String regularExpression, DataEntryWriter acceptedDataEntryWriter, DataEntryWriter rejectedDataEntryWriter)
      Creates a new NameFilteredDataEntryWriter that delegates to either of the two given writers, depending on the given list of filters.
    • NameFilteredDataEntryWriter

      public NameFilteredDataEntryWriter(List regularExpressions, DataEntryWriter acceptedDataEntryWriter)
      Creates a new NameFilteredDataEntryWriter that delegates to the given writer, depending on the given list of filters.
    • NameFilteredDataEntryWriter

      public NameFilteredDataEntryWriter(List regularExpressions, DataEntryWriter acceptedDataEntryWriter, DataEntryWriter rejectedDataEntryWriter)
      Creates a new NameFilteredDataEntryWriter that delegates to either of the two given writers, depending on the given list of filters.
    • NameFilteredDataEntryWriter

      public NameFilteredDataEntryWriter(StringMatcher stringMatcher, DataEntryWriter acceptedDataEntryWriter)
      Creates a new NameFilteredDataEntryWriter that delegates to the given writer, depending on the given string matcher.
    • NameFilteredDataEntryWriter

      public NameFilteredDataEntryWriter(StringMatcher stringMatcher, DataEntryWriter acceptedDataEntryWriter, DataEntryWriter rejectedDataEntryWriter)
      Creates a new NameFilteredDataEntryWriter that delegates to either of the two given writers, depending on the given string matcher.