name.pachler.nio.file.impl
Class PathWatchEventKind

java.lang.Object
  extended by 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
PathWatchEventKind(java.lang.String name)
           
 
Method Summary
 java.lang.String name()
           
 java.lang.Class<Path> type()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathWatchEventKind

public PathWatchEventKind(java.lang.String name)
Method Detail

name

public java.lang.String name()
Specified by:
name in interface WatchEvent.Kind<Path>
Returns:
the name of this modifier

type

public java.lang.Class<Path> type()
Specified by:
type in interface WatchEvent.Kind<Path>
Returns:
the type of the WatchEvent's context value.