@HashCodeAndEqualsPlugin.Enhance public static class Plugin.Engine.Target.ForFolder extends Object implements Plugin.Engine.Target, Plugin.Engine.Target.Sink
Plugin.Engine.Target.Discarding, Plugin.Engine.Target.ForFolder, Plugin.Engine.Target.ForJarFile, Plugin.Engine.Target.InMemory, Plugin.Engine.Target.SinkPlugin.Engine.Target.Sink.ForJarOutputStream| Constructor and Description |
|---|
ForFolder(File folder)
Creates a new target for a folder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
retain(Plugin.Engine.Source.Element element)
Retains the supplied element in its original form.
|
void |
store(Map<TypeDescription,byte[]> binaryRepresentations)
Stores the supplied binary representation of types in this sink.
|
Plugin.Engine.Target.Sink |
write(Manifest manifest)
Initializes this target prior to writing.
|
public ForFolder(File folder)
folder - The folder that is represented by this instance.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.public void store(Map<TypeDescription,byte[]> binaryRepresentations) throws IOException
store in interface Plugin.Engine.Target.SinkbinaryRepresentations - The binary representations to store.IOException - If an I/O error occurs.public void retain(Plugin.Engine.Source.Element element) throws IOException
retain in interface Plugin.Engine.Target.Sinkelement - The element to retain.IOException - If an I/O error occurs.public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2014–2023. All rights reserved.