程序包 proguard.io

接口 DataEntry

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      void closeInputStream()
      Closes the previously retrieved InputStream.
      java.io.InputStream getInputStream()
      Returns an input stream for reading the content of this data entry.
      java.lang.String getName()
      Returns the name of this data entry.
      java.lang.String getOriginalName()
      Returns the original name of this data entry, i.e. the name of the data entry before any renaming or obfuscation.
      DataEntry getParent()
      Returns the parent of this data entry, or null if it doesn't have one.
      long getSize()
      Returns the size of this data entry, in bytes, or -1 if unknown.
      boolean isDirectory()
      Returns whether the data entry represents a directory.
    • 方法详细资料

      • getName

        java.lang.String getName()
        Returns the name of this data entry.
      • getOriginalName

        java.lang.String getOriginalName()
        Returns the original name of this data entry, i.e. the name of the data entry before any renaming or obfuscation.
      • getSize

        long getSize()
        Returns the size of this data entry, in bytes, or -1 if unknown.
      • isDirectory

        boolean isDirectory()
        Returns whether the data entry represents a directory.
      • getInputStream

        java.io.InputStream getInputStream()
                                    throws java.io.IOException
        Returns an input stream for reading the content of this data entry. The data entry may not represent a directory.
        抛出:
        java.io.IOException
      • closeInputStream

        void closeInputStream()
                       throws java.io.IOException
        Closes the previously retrieved InputStream.
        抛出:
        java.io.IOException
      • getParent

        DataEntry getParent()
        Returns the parent of this data entry, or null if it doesn't have one.