WatchEvent.Kind (Java SE 9 & JDK 9 ) (original) (raw)
- Enclosing interface:
WatchEvent<T>
public static interface WatchEvent.Kind
An event kind, for the purposes of identification.
Since:
1.7
See Also:
StandardWatchEventKinds
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type Method Description String name() Returns the name of the event kind. Class<T> type() Returns the type of the context value. Method Detail
* #### name [String](../../../java/lang/String.html "class in java.lang") name() Returns the name of the event kind. Returns: the name of the event kind * #### type [Class](../../../java/lang/Class.html "class in java.lang")<[T](../../../java/nio/file/WatchEvent.Kind.html "type parameter in WatchEvent.Kind")> type() Returns the type of the [context](../../../java/nio/file/WatchEvent.html#context--) value. Returns: the type of the context value
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.