protected static interface DynamicType.Default.Dispatcher
Modifier and Type | Interface and Description |
---|---|
static class |
DynamicType.Default.Dispatcher.CreationAction
An action for creating a dispatcher.
|
static class |
DynamicType.Default.Dispatcher.ForJava7CapableVm
A dispatcher for VMs that are capable of NIO2.
|
static class |
DynamicType.Default.Dispatcher.ForLegacyVm
A legacy dispatcher that is not capable of NIO.
|
Modifier and Type | Method and Description |
---|---|
boolean |
copy(java.io.File source,
java.io.File target)
Copies the source file to the target location.
|
boolean copy(java.io.File source, java.io.File target) throws java.io.IOException
source
- The source file.target
- The target file.true
if the source file needs to be deleted.java.io.IOException
- If an I/O error occurs.