Package net.bytebuddy.build
Interface Plugin.Engine.Target.Sink
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
Plugin.Engine.Target.Discarding,Plugin.Engine.Target.ForFolder,Plugin.Engine.Target.InMemory,Plugin.Engine.Target.Sink.ForJarOutputStream
- Enclosing interface:
Plugin.Engine.Target
A sink represents an active writing process.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classImplements a sink for a jar file. -
Method Summary
Modifier and TypeMethodDescriptionvoidretain(Plugin.Engine.Source.Element element) Retains the supplied element in its original form.voidstore(Map<TypeDescription, byte[]> binaryRepresentations) Stores the supplied binary representation of types in this sink.
-
Method Details
-
store
Stores the supplied binary representation of types in this sink.- Parameters:
binaryRepresentations- The binary representations to store.- Throws:
IOException- If an I/O error occurs.
-
retain
Retains the supplied element in its original form.- Parameters:
element- The element to retain.- Throws:
IOException- If an I/O error occurs.
-