proguard.io
Class DataEntryRewriter
java.lang.Object
proguard.io.DataEntryCopier
proguard.io.DataEntryRewriter
- All Implemented Interfaces:
- DataEntryReader
- Direct Known Subclasses:
- 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.
|
Method Summary |
protected void |
copyData(java.io.InputStream inputStream,
java.io.OutputStream outputStream)
Copies all data that it can read from the given input stream to the
given output stream. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataEntryRewriter
public DataEntryRewriter(ClassPool classPool,
DataEntryWriter dataEntryWriter)
- Creates a new DataEntryRewriter.
copyData
protected void copyData(java.io.InputStream inputStream,
java.io.OutputStream outputStream)
throws java.io.IOException
- Description copied from class:
DataEntryCopier
- Copies all data that it can read from the given input stream to the
given output stream.
- Overrides:
copyData in class DataEntryCopier
- Throws:
java.io.IOException
copyData
protected void copyData(java.io.Reader reader,
java.io.Writer writer)
throws java.io.IOException
- Copies all data that it can read from the given reader to the given
writer.
- Throws:
java.io.IOException