com.jniwrapper.win32.io
Class Win9xWatcherStrategy

java.lang.Object
  extended by com.jniwrapper.win32.io.WatcherStrategy
      extended by 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


Constructor Summary
Win9xWatcherStrategy(FileSystemWatcher fileSystemWatcher)
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 void start()
          Starts watching.
 void stop()
          Stops watching.
 
Methods inherited from class com.jniwrapper.win32.io.WatcherStrategy
getFileSystemWatcher, isWatching, setWatching
 
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
 

Constructor Detail

Win9xWatcherStrategy

public Win9xWatcherStrategy(FileSystemWatcher fileSystemWatcher)
Method Detail

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