public class SimpleWatchListener extends Object implements Watch.Listener
Watch.Listener
interface where all methods perform no actions.| Constructor and Description |
|---|
SimpleWatchListener() |
| 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.
|
public void onDirectoryCreated(Directory directory)
Watch.ListeneronDirectoryCreated in interface Watch.Listenerdirectory - the directory which has been createdpublic void onDirectoryModified(Directory directory)
Watch.ListeneronDirectoryModified in interface Watch.Listenerdirectory - the directory which has been modifiedpublic void onNotFoundDeleted(ResolvedPath notFound)
Watch.ListeneronNotFoundDeleted in interface Watch.ListenernotFound - an object representing the pathname of the file system object
which has been deletedpublic void onRegularFileCreated(RegularFile file)
Watch.ListeneronRegularFileCreated in interface Watch.Listenerfile - the file which has been createdpublic void onRegularFileModified(RegularFile file)
Watch.ListeneronRegularFileModified in interface Watch.Listenerfile - the file which has been modifiedCopyright © 2021–2022 Objectos Software LTDA. All rights reserved.