JNA API 4.0.0

com.sun.jna.platform.win32
Class W32FileMonitor

java.lang.Object
  extended by com.sun.jna.platform.FileMonitor
      extended by com.sun.jna.platform.win32.W32FileMonitor

public class W32FileMonitor
extends FileMonitor


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.jna.platform.FileMonitor
FileMonitor.FileEvent, FileMonitor.FileListener
 
Field Summary
 
Fields inherited from class com.sun.jna.platform.FileMonitor
FILE_ACCESSED, FILE_ANY, FILE_ATTRIBUTES_CHANGED, FILE_CREATED, FILE_DELETED, FILE_MODIFIED, FILE_NAME_CHANGED_NEW, FILE_NAME_CHANGED_OLD, FILE_RENAMED, FILE_SECURITY_CHANGED, FILE_SIZE_CHANGED
 
Constructor Summary
W32FileMonitor()
           
 
Method Summary
 void dispose()
           
protected  void unwatch(File file)
           
protected  void watch(File file, int eventMask, boolean recursive)
           
 
Methods inherited from class com.sun.jna.platform.FileMonitor
addFileListener, addWatch, addWatch, addWatch, finalize, getInstance, notify, removeFileListener, removeWatch
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

W32FileMonitor

public W32FileMonitor()
Method Detail

watch

protected void watch(File file,
                     int eventMask,
                     boolean recursive)
              throws IOException
Specified by:
watch in class FileMonitor
Throws:
IOException

unwatch

protected void unwatch(File file)
Specified by:
unwatch in class FileMonitor

dispose

public void dispose()
Specified by:
dispose in class FileMonitor

JNA API 4.0.0

Copyright © 2007-2013 Timothy Wall. All Rights Reserved.