Package net.bytebuddy.build
Class Plugin.Engine.Source.ForJarFile
java.lang.Object
net.bytebuddy.build.Plugin.Engine.Source.ForJarFile
- All Implemented Interfaces:
Plugin.Engine.Source
- Enclosing interface:
- Plugin.Engine.Source
@Enhance
public static class Plugin.Engine.Source.ForJarFile
extends Object
implements Plugin.Engine.Source
Represents a jar file as a source.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.build.Plugin.Engine.Source
Plugin.Engine.Source.Element, Plugin.Engine.Source.Empty, Plugin.Engine.Source.Filtering, Plugin.Engine.Source.ForFolder, Plugin.Engine.Source.ForJarFile, Plugin.Engine.Source.InMemory, Plugin.Engine.Source.Origin
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
file
The jar file being represented by this source.
-
-
Constructor Details
-
ForJarFile
Creates a new source for a jar file.- Parameters:
file
- The jar file being represented by this source.
-
-
Method Details
-
read
Initiates reading from a source.- Specified by:
read
in interfacePlugin.Engine.Source
- Returns:
- The origin to read from.
- Throws:
IOException
- If an I/O error occurs.
-