public enum DirMode extends Enum<DirMode>
Enum Constant and Description |
---|
NO_SUBDIRS
parse only just the given directory, but none of its subdirectories.
|
WITH_SUBDIRS_RECURSIVE
parse the given directory, plus recursively all of its subdirectories.
|
Modifier and Type | Method and Description |
---|---|
static DirMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DirMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirMode NO_SUBDIRS
public static final DirMode WITH_SUBDIRS_RECURSIVE
public static DirMode[] values()
for (DirMode c : DirMode.values()) System.out.println(c);
public static DirMode 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