public static enum FileOption.FileFilter.AcceptExistance extends Enum<FileOption.FileFilter.AcceptExistance>
| Enum Constant and Description |
|---|
ACCEPT_ALL
Use to accept existing or non-existing files.
|
ACCEPT_EXISTING
Use to accept only existing files.
|
ACCEPT_NON_EXISTING
Use to accept only non-existing files.
|
| Modifier and Type | Method and Description |
|---|---|
static FileOption.FileFilter.AcceptExistance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileOption.FileFilter.AcceptExistance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileOption.FileFilter.AcceptExistance ACCEPT_EXISTING
public static final FileOption.FileFilter.AcceptExistance ACCEPT_NON_EXISTING
public static final FileOption.FileFilter.AcceptExistance ACCEPT_ALL
public static FileOption.FileFilter.AcceptExistance[] values()
for (FileOption.FileFilter.AcceptExistance c : FileOption.FileFilter.AcceptExistance.values()) System.out.println(c);
public static FileOption.FileFilter.AcceptExistance 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 © 2015. All rights reserved.