Package | Description |
---|---|
org.apache.commons.io.monitor |
This package provides a component for monitoring file system events
(directory and file create, update and delete events).
|
Modifier and Type | Method and Description |
---|---|
Iterable<FileAlterationObserver> |
FileAlterationMonitor.getObservers()
Returns the set of
FileAlterationObserver registered with
this monitor. |
Modifier and Type | Method and Description |
---|---|
void |
FileAlterationMonitor.addObserver(FileAlterationObserver observer)
Add a file system observer to this monitor.
|
void |
FileAlterationListenerAdaptor.onStart(FileAlterationObserver observer)
File system observer started checking event.
|
void |
FileAlterationListener.onStart(FileAlterationObserver observer)
File system observer started checking event.
|
void |
FileAlterationListenerAdaptor.onStop(FileAlterationObserver observer)
File system observer finished checking event.
|
void |
FileAlterationListener.onStop(FileAlterationObserver observer)
File system observer finished checking event.
|
void |
FileAlterationMonitor.removeObserver(FileAlterationObserver observer)
Remove a file system observer from this monitor.
|
Constructor and Description |
---|
FileAlterationMonitor(long interval,
FileAlterationObserver... observers)
Construct a monitor with the specified interval and set of observers.
|
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.