W3cubDocs

/Haxe Java

WatchService

package java.nio.file

extends CloseableAutoCloseable

@:abstract@:libType@:javaNative@:native("java.nio.file.WatchService")@:javaCanonical("java.nio.file","WatchService") Available on java

Methods

@:overload @:throws("java.io.IOException") close ():Void

@:overload @:throws("java.lang.InterruptedException") poll (param1:Int64, param2:TimeUnit):WatchKey

@:overload poll ():WatchKey

@:overload @:throws("java.lang.InterruptedException") take ():WatchKey

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/nio/file/WatchService.html