|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FieldSourceFactory.FieldSourceFactoryFields>
net.sf.jmatchparser.util.csv.fieldreader.FieldSourceFactory.FieldSourceFactoryFields
public static enum FieldSourceFactory.FieldSourceFactoryFields
Fields used in the CSV file for defining field sources
| Enum Constant Summary | |
|---|---|
COLUMNS
Columns to be used, in the same format as used by FieldSource.parse(String, EmptyAction, String, String). |
|
EMPTYACTION
FieldSource.EmptyAction to be used. |
|
FIELD
Name of the field to be defined. |
|
MAPPINGS
Regex mapping, in the same format as used by FieldSource.withMappings(FieldSource, String). |
|
MASK
Regex mask. |
|
| Method Summary | |
|---|---|
FieldDefinition<? extends Object> |
getDefinition()
Get the definition for this enum element. |
static FieldSourceFactory.FieldSourceFactoryFields |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FieldSourceFactory.FieldSourceFactoryFields[] |
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 FieldSourceFactory.FieldSourceFactoryFields FIELD
public static final FieldSourceFactory.FieldSourceFactoryFields COLUMNS
FieldSource.parse(String, EmptyAction, String, String).
public static final FieldSourceFactory.FieldSourceFactoryFields EMPTYACTION
FieldSource.EmptyAction to be used.
public static final FieldSourceFactory.FieldSourceFactoryFields MASK
public static final FieldSourceFactory.FieldSourceFactoryFields MAPPINGS
FieldSource.withMappings(FieldSource, String).
| Method Detail |
|---|
public static FieldSourceFactory.FieldSourceFactoryFields[] values()
for (FieldSourceFactory.FieldSourceFactoryFields c : FieldSourceFactory.FieldSourceFactoryFields.values()) System.out.println(c);
public static FieldSourceFactory.FieldSourceFactoryFields 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 nullpublic FieldDefinition<? extends Object> getDefinition()
FieldEnum
getDefinition in interface FieldEnum<Object>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||