public enum Folders extends Enum<Folders>
Folders
define values useful when working with folders on a
file-system.Enum Constant and Description |
---|
CONFIG_DIRS |
Modifier and Type | Method and Description |
---|---|
String[] |
getNames()
An array of the names representing the set of folder names.
|
static Folders |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Folders[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Folders CONFIG_DIRS
public static Folders[] values()
for (Folders c : Folders.values()) System.out.println(c);
public static Folders 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 String[] getNames()
Copyright © 2017. All rights reserved.