Class Plugin.Engine.Source.InMemory

java.lang.Object
net.bytebuddy.build.Plugin.Engine.Source.InMemory
All Implemented Interfaces:
Closeable, AutoCloseable, Iterable<Plugin.Engine.Source.Element>, Plugin.Engine.Source, Plugin.Engine.Source.Origin
Enclosing interface:
Plugin.Engine.Source

@Enhance public static class Plugin.Engine.Source.InMemory extends Object implements Plugin.Engine.Source, Plugin.Engine.Source.Origin
A source that represents a collection of in-memory resources that are represented as byte arrays.
  • Field Details

    • storage

      private final Map<String,byte[]> storage
      A mapping of resource names to their binary representation.
  • Constructor Details

    • InMemory

      public InMemory(Map<String,byte[]> storage)
      Creates a new in-memory source.
      Parameters:
      storage - A mapping of resource names to their binary representation.
  • Method Details