程序包 proguard.io

类 FilteredDataEntryReader

java.lang.Object
proguard.io.FilteredDataEntryReader
所有已实现的接口:
DataEntryReader
直接已知子类:
ClassFilter, DirectoryFilter, NameFilteredDataEntryReader

public class FilteredDataEntryReader extends Object implements DataEntryReader
This DataEntryReader delegates to one of two other DataEntryReader instances, depending on whether the data entry passes through a given data entry filter or not.
  • 构造器详细资料

    • FilteredDataEntryReader

      public FilteredDataEntryReader(DataEntryFilter dataEntryFilter, DataEntryReader acceptedDataEntryReader)
      Creates a new FilteredDataEntryReader with only a reader for accepted data entries.
      参数:
      dataEntryFilter - the data entry filter.
      acceptedDataEntryReader - the DataEntryReader to which the reading will be delegated if the filter accepts the data entry. May be null.
    • FilteredDataEntryReader

      public FilteredDataEntryReader(DataEntryFilter dataEntryFilter, DataEntryReader acceptedDataEntryReader, DataEntryReader rejectedDataEntryReader)
      Creates a new FilteredDataEntryReader.
      参数:
      dataEntryFilter - the data entry filter.
      acceptedDataEntryReader - the DataEntryReader to which the reading will be delegated if the filter accepts the data entry. May be null.
      rejectedDataEntryReader - the DataEntryReader to which the reading will be delegated if the filter does not accept the data entry. May be null.
  • 方法详细资料