| Constructor and Description |
|---|
WatchableFile(File file) |
WatchableFile(Path path) |
| Modifier and Type | Method and Description |
|---|---|
File |
getFile() |
WatchKey |
register(WatchService watcher,
WatchEvent.Kind<?>... events) |
WatchKey |
register(WatchService watcher,
WatchEvent.Kind<?>[] events,
WatchEvent.Modifier... modifiers) |
String |
toString() |
public WatchableFile(File file)
public WatchableFile(Path path)
public File getFile()
public WatchKey register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers) throws IOException
register in interface WatchableIOExceptionpublic final WatchKey register(WatchService watcher, WatchEvent.Kind<?>... events) throws IOException
register in interface WatchableIOExceptionCopyright © 2013. All rights reserved.