public enum FileParameterMode extends Enum<FileParameterMode>
O modo de funcionamento de um parâmetro do tipo arquivo.
| Enum Constant and Description |
|---|
DIRECTORY
O modo apenas diretório.
|
DIRECTORY_AND_REGULAR_FILE
O modo arquivos regulares e/ou diretórios.
|
REGULAR_FILE
O modo apenas arquivos regulares.
|
| Modifier and Type | Method and Description |
|---|---|
static FileParameterMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileParameterMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileParameterMode DIRECTORY
public static final FileParameterMode DIRECTORY_AND_REGULAR_FILE
public static final FileParameterMode REGULAR_FILE
public static FileParameterMode[] values()
for (FileParameterMode c : FileParameterMode.values()) System.out.println(c);
public static FileParameterMode 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 © 2021. All rights reserved.