FileSystemWatcher
| Modifier and Type | Class and Description |
|---|---|
| public static enum | FileChangeEvent.
Watched file event types. |
| Modifier and Type | Field and Description |
|---|---|
| private final File | |
| private final FileChangeEvent. |
| Access | Constructor and Description |
|---|---|
| public | FileChangeEvent(File
the file which is being watched file, FileChangeEvent.the type of event that was encountered typeConstruct a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public File | |
| public FileChangeEvent. |
| file | back to summary |
|---|---|
| private final File file | |
| type | back to summary |
|---|---|
| private final FileChangeEvent. | |
| FileChangeEvent | back to summary |
|---|---|
| public FileChangeEvent(File file, FileChangeEvent. Construct a new instance.
| |
| getFile | back to summary |
|---|---|
| public File getFile() Get the file which was being watched.
| |
| getType | back to summary |
|---|---|
| public FileChangeEvent. Get the type of event.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final FileChangeEvent. | ADDED
A file was added in a directory. |
| public static final FileChangeEvent. | MODIFIED
A file was modified in a directory. |
| public static final FileChangeEvent. | REMOVED
A file was removed from a directory. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static FileChangeEvent. | |
| public static FileChangeEvent. |
| ADDED | back to summary |
|---|---|
| public static final FileChangeEvent. A file was added in a directory. | |
| MODIFIED | back to summary |
|---|---|
| public static final FileChangeEvent. A file was modified in a directory. | |
| REMOVED | back to summary |
|---|---|
| public static final FileChangeEvent. A file was removed from a directory. | |
| Type | back to summary |
|---|---|
| private Type() | |
| valueOf | back to summary |
|---|---|
| public static FileChangeEvent. | |
| values | back to summary |
|---|---|
| public static FileChangeEvent. | |