public static class Plugin.Engine.Target.Sink.ForJarOutputStream extends java.lang.Object implements Plugin.Engine.Target.Sink
Plugin.Engine.Target.Sink.ForJarOutputStream| Modifier and Type | Field and Description |
|---|---|
private java.util.jar.JarOutputStream |
outputStream
The output stream to write to.
|
| Constructor and Description |
|---|
ForJarOutputStream(java.util.jar.JarOutputStream outputStream)
Creates a new sink for a jar file.
|
| 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(java.util.Map<TypeDescription,byte[]> binaryRepresentations)
Stores the supplied binary representation of types in this sink.
|
private final java.util.jar.JarOutputStream outputStream
public ForJarOutputStream(java.util.jar.JarOutputStream outputStream)
outputStream - The output stream to write to.public void store(java.util.Map<TypeDescription,byte[]> binaryRepresentations) throws java.io.IOException
store in interface Plugin.Engine.Target.SinkbinaryRepresentations - The binary representations to store.java.io.IOException - If an I/O error occurs.public void retain(Plugin.Engine.Source.Element element) throws java.io.IOException
retain in interface Plugin.Engine.Target.Sinkelement - The element to retain.java.io.IOException - If an I/O error occurs.public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException