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