proguard.io
Class ClassRewriter

java.lang.Object
  extended by proguard.io.ClassRewriter
All Implemented Interfaces:
DataEntryReader

public class ClassRewriter
extends java.lang.Object
implements DataEntryReader

This DataEntryReader reads class entries and writes their corresponding versions from the ClassPool to a given DataEntryWriter.


Constructor Summary
ClassRewriter(ClassPool classPool, DataEntryWriter dataEntryWriter)
           
 
Method Summary
 void read(DataEntry dataEntry)
          Reads the given data entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassRewriter

public ClassRewriter(ClassPool classPool,
                     DataEntryWriter dataEntryWriter)
Method Detail

read

public void read(DataEntry dataEntry)
          throws java.io.IOException
Description copied from interface: DataEntryReader
Reads the given data entry.

Specified by:
read in interface DataEntryReader
Throws:
java.io.IOException