com.jniwrapper.win32.io
Class Win9xWatcherStrategy
java.lang.Object
com.jniwrapper.win32.io.WatcherStrategy
com.jniwrapper.win32.io.Win9xWatcherStrategy
- All Implemented Interfaces:
- java.util.Comparator
public class Win9xWatcherStrategy
- extends WatcherStrategy
- implements java.util.Comparator
Win9xWatcherStrategy class implements a watcher strategy based on wrapping
FindFirstChangeNotification
, FindNextChangeNotification
, etc.
Win API functions.
Platforms: Win95, Win98, WinMe, WinNT, Win2000, WinXP
Method Summary |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
|
void |
start()
Starts watching. |
void |
stop()
Stops watching. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
Win9xWatcherStrategy
public Win9xWatcherStrategy(FileSystemWatcher fileSystemWatcher)
start
public void start()
throws FileSystemException
- Description copied from class:
WatcherStrategy
- Starts watching.
- Specified by:
start
in class WatcherStrategy
- Throws:
FileSystemException
stop
public void stop()
throws FileSystemException
- Description copied from class:
WatcherStrategy
- Stops watching.
- Specified by:
stop
in class WatcherStrategy
- Throws:
FileSystemException
compare
public int compare(java.lang.Object o1,
java.lang.Object o2)
- Specified by:
compare
in interface java.util.Comparator