Table of Contents

Interface IWatchable

Namespace
Java.Nio.File
Assembly
MASES.JNet.dll

.NET interface skeleton to be manually developed following https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/Watchable.html

public interface IWatchable

Methods

Register(WatchService, params Kind<object>[])

WatchKey Register(WatchService arg0, params WatchEvent.Kind<object>[] arg1)

Parameters

arg0 WatchService

WatchService

arg1 Kind<object>[]

WatchEvent.Kind

Returns

WatchKey

WatchKey

Exceptions

IOException

Register(WatchService, Kind<object>[], params Modifier[])

WatchKey Register(WatchService arg0, WatchEvent.Kind<object>[] arg1, params WatchEvent.Modifier[] arg2)

Parameters

arg0 WatchService

WatchService

arg1 Kind<object>[]

WatchEvent.Kind

arg2 Modifier[]

WatchEvent.Modifier

Returns

WatchKey

WatchKey

Exceptions

IOException