Package name.pachler.nio.file
Interface WatchEvent.Kind<T>
-
- Type Parameters:
T
- The context this kind is intended for. In jpathwatch, only Path and Void are used as context types.
- All Known Implementing Classes:
PathWatchEventKind
,VoidWatchEventKind
- Enclosing class:
- WatchEvent<T>
public static interface WatchEvent.Kind<T>
Instances of this class act as tags to identify different kinds of events (like file creation or deletion)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
name()
java.lang.Class<T>
type()
-
-
-
Method Detail
-
name
java.lang.String name()
- Returns:
- the name of this modifier
-
type
java.lang.Class<T> type()
- Returns:
- the type of the WatchEvent's context value.
-
-