W32FileMonitor (JNA API)

Overview | Package | Class | Tree | Deprecated | Index | Help
| JNA API 3.3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jna.platform.win32
Class W32FileMonitor

    java.lang.Object
      com.sun.jna.platform.FileMonitor
          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`

Overview | Package | Class | Tree | Deprecated | Index | Help
| JNA API 3.3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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