程序包 proguard.io

类 DataEntryRewriter

java.lang.Object
proguard.io.DataEntryCopier
proguard.io.DataEntryRewriter
所有已实现的接口:
DataEntryReader
直接已知子类:
ManifestRewriter

public class DataEntryRewriter extends DataEntryCopier
This DataEntryReader writes the resource data entries that it reads to a given DataEntryWriter, updating their contents based on the renamed classes in the given ClassPool.
  • 构造器详细资料

  • 方法详细资料

    • copyData

      protected void copyData(InputStream inputStream, OutputStream outputStream) throws IOException
      从类复制的说明: DataEntryCopier
      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.
      覆盖:
      copyData 在类中 DataEntryCopier
      抛出:
      IOException
    • copyData

      protected void copyData(Reader reader, Writer writer) throws IOException
      Copies all data that it can read from the given reader to the given writer.
      抛出:
      IOException