public class ManifestRewriter extends DataEntryRewriter
DataEntryReader writes the manifest data entries that it reads to a
given DataEntryWriter, updating their contents based on the renamed classes
in the given ClassPool.| Constructor and Description |
|---|
ManifestRewriter(ClassPool classPool,
java.nio.charset.Charset charset,
DataEntryWriter dataEntryWriter)
Creates a new ManifestRewriter.
|
| Modifier and Type | Method and 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.
|
copyDatamain, readpublic ManifestRewriter(ClassPool classPool, java.nio.charset.Charset charset, DataEntryWriter dataEntryWriter)
protected void copyData(java.io.Reader reader,
java.io.Writer writer)
throws java.io.IOException
DataEntryRewritercopyData in class DataEntryRewriterjava.io.IOException