程序包 proguard.io
类 DataEntryRewriter
- java.lang.Object
-
- proguard.io.DataEntryCopier
-
- proguard.io.DataEntryRewriter
-
- 所有已实现的接口:
DataEntryReader
- 直接已知子类:
ManifestRewriter
public class DataEntryRewriter extends DataEntryCopier
ThisDataEntryReaderwrites the resource data entries that it reads to a givenDataEntryWriter, updating their contents based on the renamed classes in the givenClassPool.
-
-
构造器概要
构造器 构造器 说明 DataEntryRewriter(ClassPool classPool, java.nio.charset.Charset charset, DataEntryWriter dataEntryWriter)Creates a new DataEntryRewriter.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidcopyData(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.protected voidcopyData(java.io.Reader reader, java.io.Writer writer)Copies all data that it can read from the given reader to the given writer.-
从类继承的方法 proguard.io.DataEntryCopier
main, read
-
-
-
-
构造器详细资料
-
DataEntryRewriter
public DataEntryRewriter(ClassPool classPool, java.nio.charset.Charset charset, DataEntryWriter dataEntryWriter)
Creates a new DataEntryRewriter.
-
-
方法详细资料
-
copyData
protected void copyData(java.io.InputStream inputStream, java.io.OutputStream outputStream) throws java.io.IOException从类复制的说明:DataEntryCopierCopies 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.- 覆盖:
copyData在类中DataEntryCopier- 抛出:
java.io.IOException
-
copyData
protected void copyData(java.io.Reader reader, java.io.Writer writer) throws java.io.IOExceptionCopies all data that it can read from the given reader to the given writer.- 抛出:
java.io.IOException
-
-