WatchEvent.Kind (Java Platform SE 8 ) (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
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.