|
NIO2 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use WatchKey | |
---|---|
org.classpath.icedtea.java.nio.file | Define interfaces and classes for the Java virtual machine to access files, file attributes, and file systems. |
org.classpath.icedtea.java.nio.file.spi | Service-provider classes for the org.classpath.icedtea.java.nio.file package. |
Uses of WatchKey in org.classpath.icedtea.java.nio.file |
---|
Methods in org.classpath.icedtea.java.nio.file that return WatchKey | |
---|---|
abstract WatchKey |
WatchService.poll()
Retrieves and removes the next watch key, or null if none are
present. |
abstract WatchKey |
WatchService.poll(long timeout,
java.util.concurrent.TimeUnit unit)
Retrieves and removes the next watch key, waiting if necessary up to the specified wait time if none are yet present. |
WatchKey |
Watchable.register(WatchService watcher,
WatchEvent.Kind<?>... events)
Registers an object with a watch service. |
WatchKey |
Watchable.register(WatchService watcher,
WatchEvent.Kind<?>[] events,
WatchEvent.Modifier... modifiers)
Registers an object with a watch service. |
abstract WatchKey |
Path.register(WatchService watcher,
WatchEvent.Kind<?>[] events,
WatchEvent.Modifier... modifiers)
Registers the file located by this path with a watch service. |
abstract WatchKey |
WatchService.take()
Retrieves and removes next watch key waiting if none are yet present. |
Uses of WatchKey in org.classpath.icedtea.java.nio.file.spi |
---|
Methods in org.classpath.icedtea.java.nio.file.spi that return WatchKey | |
---|---|
WatchKey |
AbstractPath.register(WatchService watcher,
WatchEvent.Kind<?>... events)
|
|
NIO2 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.