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