Java java.nio.file WatchKey fields, constructors, methods, implement or subclass

Example usage for Java java.nio.file WatchKey fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.nio.file WatchKey.

The text is from its open source code.

Method

voidcancel()
Cancels the registration with the watch service.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
booleanisValid()
Tells whether or not this watch key is valid.
List>pollEvents()
Retrieves and removes all pending events for this watch key, returning a List of the events that were retrieved.
booleanreset()
Resets this watch key.
Watchablewatchable()
Returns the object for which this watch key was created.