public static enum DynamicType.Default.Dispatcher.ForLegacyVm extends Enum<DynamicType.Default.Dispatcher.ForLegacyVm> implements DynamicType.Default.Dispatcher
DynamicType.Default.Dispatcher.CreationAction, DynamicType.Default.Dispatcher.ForJava7CapableVm, DynamicType.Default.Dispatcher.ForLegacyVm
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
copy(File source,
File target)
Copies the source file to the target location.
|
static DynamicType.Default.Dispatcher.ForLegacyVm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DynamicType.Default.Dispatcher.ForLegacyVm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DynamicType.Default.Dispatcher.ForLegacyVm INSTANCE
public static DynamicType.Default.Dispatcher.ForLegacyVm[] values()
for (DynamicType.Default.Dispatcher.ForLegacyVm c : DynamicType.Default.Dispatcher.ForLegacyVm.values()) System.out.println(c);
public static DynamicType.Default.Dispatcher.ForLegacyVm valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic 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.