public enum FileEvent extends Enum<FileEvent>
| Enum Constant and Description |
|---|
CREATE
New file or directory is created.
|
DELETE
Existing file is deleted.
|
MODIFY
Existing file or directory is modified.
|
| Modifier and Type | Method and Description |
|---|---|
static FileEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileEvent CREATE
public static final FileEvent MODIFY
public static final FileEvent DELETE
public static FileEvent[] values()
for (FileEvent c : FileEvent.values()) System.out.println(c);
public static FileEvent 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 © 2018. All rights reserved.