程序包 proguard.io

类 ExtraDataEntryReader

  • 所有已实现的接口:
    proguard.io.DataEntryReader

    public class ExtraDataEntryReader
    extends java.lang.Object
    implements proguard.io.DataEntryReader
    This DataEntryReader delegates to another DataEntryReader, inserting additional data entries that are attached to the read data entry.
    • 构造器概要

      构造器 
      构造器 说明
      ExtraDataEntryReader​(java.lang.String extraEntryName, proguard.io.DataEntryReader dataEntryReader)
      Creates a new ExtraDataEntryReader that reads one given extra data entry together with the first data entry that is read.
      ExtraDataEntryReader​(java.lang.String extraEntryName, proguard.io.DataEntryReader dataEntryReader, proguard.io.DataEntryReader extraDataEntryReader)
      Creates a new ExtraDataEntryReader that reads one given extra data entry together with the first data entry that is read.
      ExtraDataEntryReader​(ExtraDataEntryNameMap extraEntryNameMap, proguard.io.DataEntryReader dataEntryReader)
      Creates a new ExtraDataEntryReader.
      ExtraDataEntryReader​(ExtraDataEntryNameMap extraEntryNameMap, proguard.io.DataEntryReader dataEntryReader, proguard.io.DataEntryReader extraDataEntryReader)
      Creates a new ExtraDataEntryReader.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void read​(proguard.io.DataEntry dataEntry)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • ExtraDataEntryReader

        public ExtraDataEntryReader​(java.lang.String extraEntryName,
                                    proguard.io.DataEntryReader dataEntryReader)
        Creates a new ExtraDataEntryReader that reads one given extra data entry together with the first data entry that is read.
        参数:
        extraEntryName - the name of the extra data entry.
        dataEntryReader - the reader from which the entries are read, including the extra data entry.
      • ExtraDataEntryReader

        public ExtraDataEntryReader​(java.lang.String extraEntryName,
                                    proguard.io.DataEntryReader dataEntryReader,
                                    proguard.io.DataEntryReader extraDataEntryReader)
        Creates a new ExtraDataEntryReader that reads one given extra data entry together with the first data entry that is read.
        参数:
        extraEntryName - the name of the extra data entry.
        dataEntryReader - the reader from which the entries are read.
        extraDataEntryReader - the reader from which the extra data entry will be read.
      • ExtraDataEntryReader

        public ExtraDataEntryReader​(ExtraDataEntryNameMap extraEntryNameMap,
                                    proguard.io.DataEntryReader dataEntryReader)
        Creates a new ExtraDataEntryReader.
        参数:
        extraEntryNameMap - a map with data entry names and their associated extra data entries. An extra data entry that is associated with multiple entries is only read once.
        dataEntryReader - the reader from which the entries are read.
      • ExtraDataEntryReader

        public ExtraDataEntryReader​(ExtraDataEntryNameMap extraEntryNameMap,
                                    proguard.io.DataEntryReader dataEntryReader,
                                    proguard.io.DataEntryReader extraDataEntryReader)
        Creates a new ExtraDataEntryReader.
        参数:
        extraEntryNameMap - a map with data entry names and their associated extra data entries. An extra data entry that is associated with multiple entries is only read once.
        dataEntryReader - the reader from which the entries are read.
        extraDataEntryReader - the reader from which the extra data entry will be read.
    • 方法详细资料

      • read

        public void read​(proguard.io.DataEntry dataEntry)
                  throws java.io.IOException
        指定者:
        read 在接口中 proguard.io.DataEntryReader
        抛出:
        java.io.IOException