Package org.apache.commons.jci.monitor
Interface FilesystemAlterationObserver
-
- All Known Implementing Classes:
FilesystemAlterationObserverImpl
public interface FilesystemAlterationObserver
FilesystemAlterationObserver represents the state of files below a certain root directory. It implements the code to check the filesystem and notify listeners.- Author:
- tcurdt
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addListener(FilesystemAlterationListener pListener)
void
checkAndNotify()
FilesystemAlterationListener[]
getListeners()
java.io.File
getRootDirectory()
void
removeListener(FilesystemAlterationListener pListener)
-
-
-
Method Detail
-
getRootDirectory
java.io.File getRootDirectory()
-
checkAndNotify
void checkAndNotify()
-
addListener
void addListener(FilesystemAlterationListener pListener)
-
removeListener
void removeListener(FilesystemAlterationListener pListener)
-
getListeners
FilesystemAlterationListener[] getListeners()
-
-