public static enum SimpleFileSource.Mode extends java.lang.Enum<SimpleFileSource.Mode>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static SimpleFileSource.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimpleFileSource.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleFileSource.Mode REF
public static final SimpleFileSource.Mode LINES
public static final SimpleFileSource.Mode CONTENTS
public static SimpleFileSource.Mode[] values()
for (SimpleFileSource.Mode c : SimpleFileSource.Mode.values()) System.out.println(c);
public static SimpleFileSource.Mode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()