@HashCodeAndEqualsPlugin.Enhance public static class Plugin.Engine.Target.ForJarFile extends java.lang.Object implements Plugin.Engine.Target
Plugin.Engine.Target.Discarding, Plugin.Engine.Target.ForFolder, Plugin.Engine.Target.ForJarFile, Plugin.Engine.Target.InMemory, Plugin.Engine.Target.Sink| Modifier and Type | Field and Description |
|---|---|
private java.io.File |
file
The jar file that is represented by this target.
|
| Constructor and Description |
|---|
ForJarFile(java.io.File file)
Creates a new target for a jar file.
|
| Modifier and Type | Method and Description |
|---|---|
Plugin.Engine.Target.Sink |
write(java.util.jar.Manifest manifest)
Initializes this target prior to writing.
|
public ForJarFile(java.io.File file)
file - The jar file that is represented by this target.public Plugin.Engine.Target.Sink write(java.util.jar.Manifest manifest) throws java.io.IOException
write in interface Plugin.Engine.Targetmanifest - The manifest for the target or null if no manifest was found.java.io.IOException - If an I/O error occurs.