Package net.bytebuddy.build
Class Plugin.Engine.Target.ForFolder.Dispatcher.ForJava7CapableVm
- java.lang.Object
-
- net.bytebuddy.build.Plugin.Engine.Target.ForFolder.Dispatcher.ForJava7CapableVm
-
- All Implemented Interfaces:
Plugin.Engine.Target.ForFolder.Dispatcher
- Enclosing interface:
- Plugin.Engine.Target.ForFolder.Dispatcher
@Enhance public static class Plugin.Engine.Target.ForFolder.Dispatcher.ForJava7CapableVm extends Object implements Plugin.Engine.Target.ForFolder.Dispatcher
A dispatcher for VMs that are capable of NIO2.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.build.Plugin.Engine.Target.ForFolder.Dispatcher
Plugin.Engine.Target.ForFolder.Dispatcher.CreationAction, Plugin.Engine.Target.ForFolder.Dispatcher.ForJava7CapableVm, Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVm
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedForJava7CapableVm(Method toPath, Method copy, Object[] copyOptions)Creates a new NIO2 capable dispatcher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopy(File source, File target)Copies the source file to the target location.booleanisAlive()Returnstrueif this dispatcher is alive.
-
-
-
Method Detail
-
isAlive
public boolean isAlive()
Returnstrueif this dispatcher is alive.- Specified by:
isAlivein interfacePlugin.Engine.Target.ForFolder.Dispatcher- Returns:
trueif this dispatcher is alive.
-
copy
public void copy(File source, File target) throws IOException
Copies the source file to the target location.- Specified by:
copyin interfacePlugin.Engine.Target.ForFolder.Dispatcher- Parameters:
source- The source file.target- The target file.- Throws:
IOException- If an I/O error occurs.
-
-