|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jniwrapper.win32.io.WatcherStrategy
WatcherStrategy class is a base class for various watching strategies used in
FileSystemWatcher class.
| Constructor Summary | |
WatcherStrategy(FileSystemWatcher fileSystemWatcher)
Creates a strategy for a specified watcher FileSystemWatcher |
|
| Method Summary | |
FileSystemWatcher |
getFileSystemWatcher()
|
protected boolean |
isWatching()
|
protected void |
setWatching(boolean value)
|
abstract void |
start()
Starts watching. |
abstract void |
stop()
Stops watching. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WatcherStrategy(FileSystemWatcher fileSystemWatcher)
FileSystemWatcher
fileSystemWatcher - a wacher which will use this strategy.| Method Detail |
public FileSystemWatcher getFileSystemWatcher()
protected boolean isWatching()
protected void setWatching(boolean value)
public abstract void start()
throws FileSystemException
FileSystemException
public abstract void stop()
throws FileSystemException
FileSystemException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||