public class ExtraDataEntryWriter
extends java.lang.Object
implements proguard.io.DataEntryWriter
| Constructor and Description |
|---|
ExtraDataEntryWriter(ExtraDataEntryNameMap extraEntryNameMap,
proguard.io.DataEntryWriter dataEntryWriter,
proguard.io.DataEntryWriter extraDataEntryWriter)
Creates a new ExtraDataEntryWriter.
|
ExtraDataEntryWriter(java.lang.String extraEntryName,
proguard.io.DataEntryWriter dataEntryWriter)
Creates a new ExtraDataEntryWriter that writes one given extra data entry
together with the first data entry that is written.
|
ExtraDataEntryWriter(java.lang.String extraEntryName,
proguard.io.DataEntryWriter dataEntryWriter,
proguard.io.DataEntryWriter extraDataEntryWriter)
Creates a new ExtraDataEntryWriter that writes one given extra data entry
together with the first data entry that is written.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
createDirectory(proguard.io.DataEntry dataEntry) |
java.io.OutputStream |
createOutputStream(proguard.io.DataEntry dataEntry) |
void |
println(java.io.PrintWriter pw,
java.lang.String prefix) |
boolean |
sameOutputStream(proguard.io.DataEntry dataEntry1,
proguard.io.DataEntry dataEntry2) |
public ExtraDataEntryWriter(java.lang.String extraEntryName,
proguard.io.DataEntryWriter dataEntryWriter)
extraEntryName - the name of the extra data entry.dataEntryWriter - the writer to which the entries are
written, including the extra data entry.public ExtraDataEntryWriter(java.lang.String extraEntryName,
proguard.io.DataEntryWriter dataEntryWriter,
proguard.io.DataEntryWriter extraDataEntryWriter)
extraEntryName - the name of the extra data entry.dataEntryWriter - the writer to which the entries are
written.extraDataEntryWriter - the writer to which the extra data entry
will be written.public ExtraDataEntryWriter(ExtraDataEntryNameMap extraEntryNameMap, proguard.io.DataEntryWriter dataEntryWriter, proguard.io.DataEntryWriter extraDataEntryWriter)
extraEntryNameMap - a map with data entry names and their
associated extra data entries. An extra
data entry that is associated with multiple
entries is only written once.dataEntryWriter - the writer to which the entries are
written.extraDataEntryWriter - the writer to which the extra data entry
will be written.public boolean createDirectory(proguard.io.DataEntry dataEntry)
throws java.io.IOException
createDirectory in interface proguard.io.DataEntryWriterjava.io.IOExceptionpublic boolean sameOutputStream(proguard.io.DataEntry dataEntry1,
proguard.io.DataEntry dataEntry2)
throws java.io.IOException
sameOutputStream in interface proguard.io.DataEntryWriterjava.io.IOExceptionpublic java.io.OutputStream createOutputStream(proguard.io.DataEntry dataEntry)
throws java.io.IOException
createOutputStream in interface proguard.io.DataEntryWriterjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface proguard.io.DataEntryWriterjava.io.IOExceptionpublic void println(java.io.PrintWriter pw,
java.lang.String prefix)
println in interface proguard.io.DataEntryWriter