程序包 proguard.io

类 DataEntryCopier

    • 方法概要

      所有方法 静态方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      protected void copyData​(java.io.InputStream inputStream, java.io.OutputStream outputStream)
      Copies all data that it can read from the given input stream to the given output stream.
      static void main​(java.lang.String[] args)
      A main method for testing file/archive/directory copying.
      void read​(DataEntry dataEntry)
      Reads the given data entry.
      • 从类继承的方法 java.lang.Object

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

      • DataEntryCopier

        public DataEntryCopier​(DataEntryWriter dataEntryWriter)
        Creates a new DataEntryCopier.
    • 方法详细资料

      • read

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

        protected void copyData​(java.io.InputStream inputStream,
                                java.io.OutputStream outputStream)
                         throws java.io.IOException
        Copies all data that it can read from the given input stream to the given output stream. The caller of this method will open and afterwards flush and close the input stream and the output stream. The implementation of this method needs to make sure that any wrapping output streams are flushed before returning.
        抛出:
        java.io.IOException
      • main

        public static void main​(java.lang.String[] args)
        A main method for testing file/archive/directory copying.