程序包 proguard.io

类 NameFilteredDataEntryWriter

java.lang.Object
proguard.io.FilteredDataEntryWriter
proguard.io.NameFilteredDataEntryWriter
所有已实现的接口:
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.
  • 构造器详细资料

    • 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.