public static interface Watch.Listener
| Modifier and Type | Method and Description |
|---|---|
void |
onDirectoryCreated(Directory directory)
Called when a directory is created.
|
void |
onDirectoryModified(Directory directory)
Called when a directory is modified.
|
void |
onNotFoundDeleted(ResolvedPath notFound)
Called when a file system object of a directory is deleted.
|
void |
onRegularFileCreated(RegularFile file)
Called when a regular file is created.
|
void |
onRegularFileModified(RegularFile file)
Called when a regular file is modified.
|
void onDirectoryCreated(Directory directory)
directory - the directory which has been createdvoid onDirectoryModified(Directory directory)
directory - the directory which has been modifiedvoid onNotFoundDeleted(ResolvedPath notFound)
notFound - an object representing the pathname of the file system object
which has been deletedvoid onRegularFileCreated(RegularFile file)
file - the file which has been createdvoid onRegularFileModified(RegularFile file)
file - the file which has been modifiedCopyright © 2021–2022 Objectos Software LTDA. All rights reserved.