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

public static interface Plugin.Engine.Target.Sink extends Closeable
A sink represents an active writing process.
  • Method Details

    • store

      void store(Map<TypeDescription,byte[]> binaryRepresentations) throws IOException
      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

      void retain(Plugin.Engine.Source.Element element) throws IOException
      Retains the supplied element in its original form.
      Parameters:
      element - The element to retain.
      Throws:
      IOException - If an I/O error occurs.