public static enum JarUtil.CopyOption extends Enum<JarUtil.CopyOption>
Enum Constant and Description |
---|
COPY_IF_NOT_EXIST |
REPLACE_IF_EXIST |
Modifier and Type | Method and Description |
---|---|
static JarUtil.CopyOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JarUtil.CopyOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JarUtil.CopyOption COPY_IF_NOT_EXIST
public static final JarUtil.CopyOption REPLACE_IF_EXIST
public static JarUtil.CopyOption[] values()
for (JarUtil.CopyOption c : JarUtil.CopyOption.values()) System.out.println(c);
public static JarUtil.CopyOption 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 null