程序包 proguard.io

类 WrappedDataEntry

    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      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.
      java.lang.String toString()  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 字段详细资料

      • wrappedEntry

        protected final DataEntry wrappedEntry
    • 构造器详细资料

      • WrappedDataEntry

        public WrappedDataEntry​(DataEntry wrappedEntry)
    • 方法详细资料

      • closeInputStream

        public void closeInputStream()
                              throws java.io.IOException
        从接口复制的说明: DataEntry
        Closes the previously retrieved InputStream.
        指定者:
        closeInputStream 在接口中 DataEntry
        抛出:
        java.io.IOException
      • getName

        public java.lang.String getName()
        从接口复制的说明: DataEntry
        Returns the name of this data entry.
        指定者:
        getName 在接口中 DataEntry
      • getOriginalName

        public java.lang.String getOriginalName()
        从接口复制的说明: DataEntry
        Returns the original name of this data entry, i.e. the name of the data entry before any renaming or obfuscation.
        指定者:
        getOriginalName 在接口中 DataEntry
      • getSize

        public long getSize()
        从接口复制的说明: DataEntry
        Returns the size of this data entry, in bytes, or -1 if unknown.
        指定者:
        getSize 在接口中 DataEntry
      • isDirectory

        public boolean isDirectory()
        从接口复制的说明: DataEntry
        Returns whether the data entry represents a directory.
        指定者:
        isDirectory 在接口中 DataEntry
      • getInputStream

        public java.io.InputStream getInputStream()
                                           throws java.io.IOException
        从接口复制的说明: DataEntry
        Returns an input stream for reading the content of this data entry. The data entry may not represent a directory.
        指定者:
        getInputStream 在接口中 DataEntry
        抛出:
        java.io.IOException
      • getParent

        public DataEntry getParent()
        从接口复制的说明: DataEntry
        Returns the parent of this data entry, or null if it doesn't have one.
        指定者:
        getParent 在接口中 DataEntry
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object