public static class EntryImpl.ManifestEntry extends EntryImpl implements Transformer.ManifestEntry
EntryImpl.ClassEntry, EntryImpl.JavadoctorEntry, EntryImpl.ManifestEntry, EntryImpl.ResourceEntrySTABLE_TIMESTAMP| Constructor and Description |
|---|
ManifestEntry(long time,
byte[] data) |
ManifestEntry(long time,
java.util.jar.Manifest manifest) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData()
Returns the bytes associated with this entry.
|
java.util.jar.Manifest |
getManifest()
Gets the parsed Manifest.
|
Transformer.ManifestEntry |
process(Transformer transformer)
Runs the provided transformer over this entry and returns the transformed entry.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, creategetName, getTime, ofFilepublic ManifestEntry(long time,
byte[] data)
public ManifestEntry(long time,
java.util.jar.Manifest manifest)
public java.util.jar.Manifest getManifest()
Transformer.ManifestEntryTransformer.Entry.getData() is called later,
since the entry cannot detect the changed data. Always construct a new entry if you modify the manifest.getManifest in interface Transformer.ManifestEntrypublic byte[] getData()
Transformer.EntrygetData in interface Transformer.EntrygetData in class EntryImplpublic Transformer.ManifestEntry process(Transformer transformer)
Transformer.Entryprocess in interface Transformer.Entrytransformer - the transformer to run