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 java.lang.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 Modifier and Type Field Description private java.io.File
file
The jar file being represented by this source.
-
Constructor Summary
Constructors Constructor Description ForJarFile(java.io.File file)
Creates a new source for a jar file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Plugin.Engine.Source.Origin
read()
Initiates reading from a source.
-
-
-
Method Detail
-
read
public Plugin.Engine.Source.Origin read() throws java.io.IOException
Initiates reading from a source.- Specified by:
read
in interfacePlugin.Engine.Source
- Returns:
- The origin to read from.
- Throws:
java.io.IOException
- If an I/O error occurs.
-
-