ProGuard

proguard.io
Class ClassFileRewriter

java.lang.Object
  extended byproguard.io.ClassFileRewriter
All Implemented Interfaces:
DataEntryReader

public class ClassFileRewriter
extends Object
implements DataEntryReader

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


Constructor Summary
ClassFileRewriter(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

ClassFileRewriter

public ClassFileRewriter(ClassPool classPool,
                         DataEntryWriter dataEntryWriter)
Method Detail

read

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

Specified by:
read in interface DataEntryReader
Throws:
IOException

ProGuard