インタフェース
java.nio.file.WatchEvent.Kindの使用
WatchEvent.Kindを使用するパッケージ
-
java.nio.fileでのWatchEvent.Kindの使用
WatchEvent.Kindとして宣言されたjava.nio.fileのフィールド修飾子と型フィールド説明static final WatchEvent.Kind<Path>StandardWatchEventKinds.ENTRY_CREATEディレクトリ・エントリが作成されました。static final WatchEvent.Kind<Path>StandardWatchEventKinds.ENTRY_DELETEディレクトリ・エントリが削除されました。static final WatchEvent.Kind<Path>StandardWatchEventKinds.ENTRY_MODIFYディレクトリ・エントリが変更されました。static final WatchEvent.Kind<Object>StandardWatchEventKinds.OVERFLOWイベントが失われたか破棄された可能性があることを示す特殊イベントです。WatchEvent.Kindを返すjava.nio.fileのメソッド型WatchEvent.Kindのパラメータを持つjava.nio.fileのメソッド修飾子と型メソッド説明default WatchKeyPath.register(WatchService watcher, WatchEvent.Kind<?>... events) このパスで検出されたファイルを監視サービスに登録します。Path.register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers) このパスで検出されたファイルを監視サービスに登録します。Watchable.register(WatchService watcher, WatchEvent.Kind<?>... events) オブジェクトを監視サービスに登録します。Watchable.register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers) オブジェクトを監視サービスに登録します。