@HashCodeAndEqualsPlugin.Enhance public static class Plugin.Engine.Target.ForJarFile extends 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| Constructor and Description |
|---|
ForJarFile(File file)
Creates a new target for a jar file.
|
| Modifier and Type | Method and Description |
|---|---|
Plugin.Engine.Target.Sink |
write(Manifest manifest)
Initializes this target prior to writing.
|
public ForJarFile(File file)
file - The jar file that is represented by this target.public Plugin.Engine.Target.Sink write(@MaybeNull Manifest manifest) throws IOException
write in interface Plugin.Engine.Targetmanifest - The manifest for the target or null if no manifest was found.IOException - If an I/O error occurs.Copyright © 2014–2023. All rights reserved.