public static enum NutDao.PathFormat extends Enum<NutDao.PathFormat>
This enumeration specifies formats of path specified to create nuts
.
Enum Constant and Description |
---|
ANY
Any format.
|
RELATIVE_FILE
Relative file format.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
canBeRegex()
Indicates if this format could corresponds to a regex.
|
static NutDao.PathFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NutDao.PathFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NutDao.PathFormat ANY
public static final NutDao.PathFormat RELATIVE_FILE
public static NutDao.PathFormat[] values()
for (NutDao.PathFormat c : NutDao.PathFormat.values()) System.out.println(c);
public static NutDao.PathFormat 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 nullpublic Boolean canBeRegex()
Indicates if this format could corresponds to a regex.
true
is the value could corresponds to a regex, false
otherwiseCopyright © 2012-2015. All Rights Reserved.