private static enum FilesIterator.Strategy extends Enum<FilesIterator.Strategy>
Enum Constant and Description |
---|
FILES
Iterate over files with absolute path.
|
NAMES
Iterate over file names with absolute path.
|
NONE
Neutral value.
|
RELATIVE_FILES
Iterate over files with relative path.
|
RELATIVE_NAMES
Iterate over file names with relative path.
|
Modifier and Type | Method and Description |
---|---|
static FilesIterator.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilesIterator.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilesIterator.Strategy NONE
public static final FilesIterator.Strategy FILES
public static final FilesIterator.Strategy RELATIVE_FILES
public static final FilesIterator.Strategy NAMES
public static final FilesIterator.Strategy RELATIVE_NAMES
public static FilesIterator.Strategy[] values()
for (FilesIterator.Strategy c : FilesIterator.Strategy.values()) System.out.println(c);
public static FilesIterator.Strategy 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 nullCopyright © 2018. All rights reserved.