Uses of Class
org.apache.commons.io.monitor.FileAlterationObserver
Package
Description
Provides a component for monitoring file system events (directory and file create, update and delete events).
-
Uses of FileAlterationObserver in org.apache.commons.io.monitor
Modifier and TypeMethodDescriptionFileAlterationObserver.Builder.get()
Gets a newFileAlterationObserver
instance.Modifier and TypeMethodDescriptionFileAlterationMonitor.getObservers()
Returns the set ofFileAlterationObserver
registered with this monitor.Modifier and TypeMethodDescriptionvoid
FileAlterationMonitor.addObserver
(FileAlterationObserver observer) Adds a file system observer to this monitor.void
FileAlterationListener.onStart
(FileAlterationObserver observer) File system observer started checking event.void
FileAlterationListenerAdaptor.onStart
(FileAlterationObserver observer) File system observer started checking event.void
FileAlterationListener.onStop
(FileAlterationObserver observer) File system observer finished checking event.void
FileAlterationListenerAdaptor.onStop
(FileAlterationObserver observer) File system observer finished checking event.void
FileAlterationMonitor.removeObserver
(FileAlterationObserver observer) Removes a file system observer from this monitor.ModifierConstructorDescriptionFileAlterationMonitor
(long interval, FileAlterationObserver... observers) Constructs a monitor with the specified interval and set of observers.ModifierConstructorDescriptionFileAlterationMonitor
(long interval, Collection<FileAlterationObserver> observers) Constructs a monitor with the specified interval and collection of observers.