程序包 proguard.io
类 DataEntryCopier
java.lang.Object
proguard.io.DataEntryCopier
- 所有已实现的接口:
DataEntryReader
- 直接已知子类:
DataEntryRewriter
This
DataEntryReader writes the ZIP entries and files that it reads to a given DataEntryWriter.-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected voidcopyData(InputStream inputStream, OutputStream outputStream) Copies all data that it can read from the given input stream to the given output stream.static voidA main method for testing file/archive/directory copying.voidReads the given data entry.
-
构造器详细资料
-
DataEntryCopier
Creates a new DataEntryCopier.
-
-
方法详细资料
-
read
从接口复制的说明:DataEntryReaderReads the given data entry.- 指定者:
read在接口中DataEntryReader- 抛出:
IOException
-
copyData
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.- 抛出:
IOException
-
main
A main method for testing file/archive/directory copying.
-