程序包 proguard.io

类 FileSource

    • 构造器概要

      构造器 
      构造器 说明
      FileSource​(java.io.File file)
      Creates a new FileSource.
      FileSource​(java.io.File directory, java.io.File file)
      Creates a new FileSource.
      FileSource​(FileDataEntry fileDataEntry)
      Creates a new FileSource.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void pumpDataEntries​(DataEntryReader dataEntryReader)
      Applies the given DataEntryReader to all data entries that the implementation can provide.
      • 从类继承的方法 java.lang.Object

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

      • FileSource

        public FileSource​(java.io.File file)
        Creates a new FileSource.
        参数:
        file - the the absolute or relative location of the file.
      • FileSource

        public FileSource​(java.io.File directory,
                          java.io.File file)
        Creates a new FileSource.
        参数:
        directory - the base directory for the file.
        file - the the absolute or relative location of the file.
      • FileSource

        public FileSource​(FileDataEntry fileDataEntry)
        Creates a new FileSource.
        参数:
        fileDataEntry - the file data entry.
    • 方法详细资料

      • pumpDataEntries

        public void pumpDataEntries​(DataEntryReader dataEntryReader)
                             throws java.io.IOException
        从接口复制的说明: DataEntrySource
        Applies the given DataEntryReader to all data entries that the implementation can provide.
        指定者:
        pumpDataEntries 在接口中 DataEntrySource
        抛出:
        java.io.IOException