proguard.io
Class ManifestRewriter

java.lang.Object
  extended by proguard.io.DataEntryCopier
      extended by proguard.io.DataEntryRewriter
          extended by proguard.io.ManifestRewriter
All Implemented Interfaces:
DataEntryReader

public class ManifestRewriter
extends DataEntryRewriter

This DataEntryReader writes the manifest data entries that it reads to a given DataEntryWriter, updating their contents based on the renamed classes in the given ClassPool.


Constructor Summary
ManifestRewriter(ClassPool classPool, DataEntryWriter dataEntryWriter)
          Creates a new ManifestRewriter.
 
Method Summary
protected  void copyData(java.io.Reader reader, java.io.Writer writer)
          Copies all data that it can read from the given reader to the given writer.
 
Methods inherited from class proguard.io.DataEntryRewriter
copyData
 
Methods inherited from class proguard.io.DataEntryCopier
main, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManifestRewriter

public ManifestRewriter(ClassPool classPool,
                        DataEntryWriter dataEntryWriter)
Creates a new ManifestRewriter.

Method Detail

copyData

protected void copyData(java.io.Reader reader,
                        java.io.Writer writer)
                 throws java.io.IOException
Description copied from class: DataEntryRewriter
Copies all data that it can read from the given reader to the given writer.

Overrides:
copyData in class DataEntryRewriter
Throws:
java.io.IOException