|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FieldSource.EmptyAction>
net.sf.jmatchparser.util.csv.fieldreader.FieldSource.EmptyAction
public static enum FieldSource.EmptyAction
How to treat a field source that returns an empty string.
| Enum Constant Summary | |
|---|---|
CLEAR
Return an empty value, to clear the underlying field when updating a record. |
|
COMPLAIN
Throw an exception. |
|
COMPLAIN_IF_NEW
Throw an exception if a new record should be created, ignore it otherwise. |
|
IGNORE
Ignore the field as if it was not in the field source list, to not touch the underlying field when updating a record. |
|
| Method Summary | |
|---|---|
static FieldSource.EmptyAction |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FieldSource.EmptyAction[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final FieldSource.EmptyAction IGNORE
public static final FieldSource.EmptyAction COMPLAIN
public static final FieldSource.EmptyAction CLEAR
public static final FieldSource.EmptyAction COMPLAIN_IF_NEW
COMPLAIN,
IGNORE| Method Detail |
|---|
public static FieldSource.EmptyAction[] values()
for (FieldSource.EmptyAction c : FieldSource.EmptyAction.values()) System.out.println(c);
public static FieldSource.EmptyAction valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||