程序包 proguard.io

类 FilteredDataEntryReader

    • 构造器详细资料

      • 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.
    • 方法详细资料

      • read

        public void read​(DataEntry dataEntry)
                  throws java.io.IOException
        从接口复制的说明: DataEntryReader
        Reads the given data entry.
        指定者:
        read 在接口中 DataEntryReader
        抛出:
        java.io.IOException