Package name.pachler.nio.file.impl
Class PathWatchEventKind
- java.lang.Object
-
- name.pachler.nio.file.impl.PathWatchEventKind
-
- All Implemented Interfaces:
WatchEvent.Kind<Path>
public class PathWatchEventKind extends java.lang.Object implements WatchEvent.Kind<Path>
-
-
Constructor Summary
Constructors Constructor Description PathWatchEventKind(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
name()
java.lang.String
toString()
java.lang.Class<Path>
type()
-
-
-
Method Detail
-
name
public java.lang.String name()
- Specified by:
name
in interfaceWatchEvent.Kind<Path>
- Returns:
- the name of this modifier
-
type
public java.lang.Class<Path> type()
- Specified by:
type
in interfaceWatchEvent.Kind<Path>
- Returns:
- the type of the WatchEvent's context value.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-