proguard.io
Class DataEntryRewriter

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

public class DataEntryRewriter
extends java.lang.Object
implements DataEntryReader

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.


Constructor Summary
DataEntryRewriter(ClassPool classPool, DataEntryWriter dataEntryWriter)
          Creates a new DataEntryRewriter.
 
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

DataEntryRewriter

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

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