public enum ExportMode extends Enum<ExportMode>
Enum Constant and Description |
---|
APPEND |
ERRORIFEXISTS |
OVERWRITE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ExportMode |
fromName(String name) |
String |
getName() |
int |
getValue() |
static ExportMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExportMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExportMode ERRORIFEXISTS
public static final ExportMode APPEND
public static final ExportMode OVERWRITE
public static final ExportMode UNKNOWN
public static ExportMode[] values()
for (ExportMode c : ExportMode.values()) System.out.println(c);
public static ExportMode 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 String getName()
public int getValue()
public static ExportMode fromName(String name)
Copyright © 2023. All rights reserved.