@HashCodeAndEqualsPlugin.Enhance public static class Plugin.Engine.Target.ForFolder.Dispatcher.ForJava7CapableVm extends Object implements Plugin.Engine.Target.ForFolder.Dispatcher
Plugin.Engine.Target.ForFolder.Dispatcher.CreationAction, Plugin.Engine.Target.ForFolder.Dispatcher.ForJava7CapableVm, Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVm
Modifier | Constructor and Description |
---|---|
protected |
ForJava7CapableVm(Method toPath,
Method copy,
Object[] copyOptions)
Creates a new NIO2 capable dispatcher.
|
Modifier and Type | Method and Description |
---|---|
void |
copy(File source,
File target)
Copies the source file to the target location.
|
boolean |
isAlive()
Returns
true if this dispatcher is alive. |
public boolean isAlive()
true
if this dispatcher is alive.isAlive
in interface Plugin.Engine.Target.ForFolder.Dispatcher
true
if this dispatcher is alive.public void copy(File source, File target) throws IOException
copy
in interface Plugin.Engine.Target.ForFolder.Dispatcher
source
- The source file.target
- The target file.IOException
- If an I/O error occurs.Copyright © 2014–2020. All rights reserved.