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.
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
 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.