Package net.bytebuddy.build
Interface Plugin.Engine.Source
-
- All Known Implementing Classes:
Plugin.Engine.Source.Empty
,Plugin.Engine.Source.Filtering
,Plugin.Engine.Source.ForFolder
,Plugin.Engine.Source.ForJarFile
,Plugin.Engine.Source.InMemory
- Enclosing interface:
- Plugin.Engine
public static interface Plugin.Engine.Source
A source for a plugin engine provides binary elements to consider for transformation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Plugin.Engine.Source.Element
Represents a binary element found in a source location.static class
Plugin.Engine.Source.Empty
An empty source that does not contain any elements or a manifest.static class
Plugin.Engine.Source.Filtering
A source that applies a filter upon iterating elements.static class
Plugin.Engine.Source.ForFolder
Represents the contents of a folder as class files.static class
Plugin.Engine.Source.ForJarFile
Represents a jar file as a source.static class
Plugin.Engine.Source.InMemory
A source that represents a collection of in-memory resources that are represented as byte arrays.static interface
Plugin.Engine.Source.Origin
An origin for elements.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Plugin.Engine.Source.Origin
read()
Initiates reading from a source.
-
-
-
Method Detail
-
read
Plugin.Engine.Source.Origin read() throws java.io.IOException
Initiates reading from a source.- Returns:
- The origin to read from.
- Throws:
java.io.IOException
- If an I/O error occurs.
-
-