Descripción
Sintaxis
default WatchKey register(WatchService watcher, WatchEvent.Kind<?>... events) throws IOException
WatchKey register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers) throws IOException
Parámetros
- WatchService watcher,
- WatchEvent.Modifier… modifiers,
- WatchEvent.Kind<?>[] events,
- WatchEvent.Kind<?>… events,
Excepciones
IllegalArgumentException, NotDirectoryException, IOException, ClosedWatchServiceException, SecurityException, UnsupportedOperationException
Clase Padre
Ejemplo
Artículos
Vídeos Java
Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.