public static enum RegExFilenameFilter.Directory extends Enum<RegExFilenameFilter.Directory>
RegExFilenameFilter
are forbidden, allowed or required to be a directory.Enum Constant and Description |
---|
ALLOWED
Directories can not show up when filtering.
|
FORBIDDEN
Directories will not show up when filtering.
|
REQUIRED
Only directories will not show up when filtering.
|
Modifier and Type | Method and Description |
---|---|
static RegExFilenameFilter.Directory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegExFilenameFilter.Directory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegExFilenameFilter.Directory FORBIDDEN
public static final RegExFilenameFilter.Directory ALLOWED
public static final RegExFilenameFilter.Directory REQUIRED
public static RegExFilenameFilter.Directory[] values()
for (RegExFilenameFilter.Directory c : RegExFilenameFilter.Directory.values()) System.out.println(c);
public static RegExFilenameFilter.Directory 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