Package proguard.io
Class ManifestRewriter
- java.lang.Object
-
- proguard.io.DataEntryCopier
-
- proguard.io.DataEntryRewriter
-
- proguard.io.ManifestRewriter
-
- All Implemented Interfaces:
DataEntryReader
public class ManifestRewriter extends DataEntryRewriter
ThisDataEntryReader
writes the manifest data entries that it reads to a givenDataEntryWriter
, updating their contents based on the renamed classes in the givenClassPool
.
-
-
Constructor Summary
Constructors Constructor Description ManifestRewriter(ClassPool classPool, java.nio.charset.Charset charset, DataEntryWriter dataEntryWriter)
Creates a new ManifestRewriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Constructor Detail
-
ManifestRewriter
public ManifestRewriter(ClassPool classPool, java.nio.charset.Charset charset, 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 classDataEntryRewriter
- Throws:
java.io.IOException
-
-