Package org.apache.commons.io.monitor
This package provides a component for monitoring file system events (directory and file create, update and delete events).
-
Interface Summary Interface Description FileAlterationListener A listener that receives events of file system modifications. -
Class Summary Class Description FileAlterationListenerAdaptor ConvenienceFileAlterationListener
implementation that does nothing.FileAlterationMonitor A runnable that spawns a monitoring thread triggering any registeredFileAlterationObserver
at a specified interval.FileAlterationObserver FileAlterationObserver represents the state of files below a root directory, checking the file system and notifying listeners of create, change or delete events.FileEntry The state of a file or directory, capturing the followingFile
attributes at a point in time.