DirWatcher (Hyperic HQ Plugin API)
Keywords: org.hyperic.util.file.DirWatcher class

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.util.file
Class DirWatcher

    java.lang.Object
      org.hyperic.util.file.DirWatcher

All Implemented Interfaces:
  java.lang.Runnable

    public class DirWatcher

extends java.lang.Object
implements java.lang.Runnable

Watches a directory for changes, issuing callbacks when things change XXX: JBoss has similar functionality that we should re-use

Nested Class Summary
`static interface` | `DirWatcher.DirWatcherCallback`

Constructor Summary
`DirWatcher(java.io.File dir, DirWatcher.DirWatcherCallback callback)`
`DirWatcher(java.io.File dir, DirWatcher.DirWatcherCallback callback, java.util.List lastList)`

Method Summary
`void` | `run()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DirWatcher

    public DirWatcher(java.io.File dir,
                      DirWatcher.DirWatcherCallback callback,
                      java.util.List lastList)

### DirWatcher

    public DirWatcher(java.io.File dir,
                      DirWatcher.DirWatcherCallback callback)

Method Detail

### run

    public void run()

  Specified by:
    `run` in interface `java.lang.Runnable`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.