public static enum FileBasedSource.Mode extends Enum<FileBasedSource.Mode>
FileBasedSource represents a file resource of one of these types.| Enum Constant and Description |
|---|
FILEPATTERN |
SINGLE_FILE_OR_SUBRANGE |
| Modifier and Type | Method and Description |
|---|---|
static FileBasedSource.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileBasedSource.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileBasedSource.Mode FILEPATTERN
public static final FileBasedSource.Mode SINGLE_FILE_OR_SUBRANGE
public static FileBasedSource.Mode[] values()
for (FileBasedSource.Mode c : FileBasedSource.Mode.values()) System.out.println(c);
public static FileBasedSource.Mode 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