public class BlockFolderWatcher extends FolderWatcher
handler, kinds, modifiers, run, watchKeys, watchService
Constructor and Description |
---|
BlockFolderWatcher(WatchHandler handler,
WatchEvent.Kind<?>... kinds) |
BlockFolderWatcher(WatchHandler handler,
WatchEvent.Modifier[] modifiers,
WatchEvent.Kind<?>... kinds) |
BlockFolderWatcher(WatchHandler handler,
WatchEvent.Modifier[] modifiers,
WatchEventKind... kinds) |
BlockFolderWatcher(WatchHandler handler,
WatchEventKind... kinds) |
Modifier and Type | Method and Description |
---|---|
void |
watch()
观察
|
close, getWatchPaths, init, registerPath, registerPath, registerPath, registerPath, registerPath, registerPath, registerPath, registerPath, run, stop
public BlockFolderWatcher(WatchHandler handler, WatchEventKind... kinds)
public BlockFolderWatcher(WatchHandler handler, WatchEvent.Kind<?>... kinds)
public BlockFolderWatcher(WatchHandler handler, WatchEvent.Modifier[] modifiers, WatchEventKind... kinds)
public BlockFolderWatcher(WatchHandler handler, WatchEvent.Modifier[] modifiers, WatchEvent.Kind<?>... kinds)
public void watch()
Watchable
Copyright © 2024. All rights reserved.