Package org.apache.commons.jci.monitor
Interface FilesystemAlterationObserver
-
- All Known Implementing Classes:
FilesystemAlterationObserverImpl
public interface FilesystemAlterationObserverFilesystemAlterationObserver represents the state of files below a certain root directory. It implements the code to check the filesystem and notify listeners.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddListener(FilesystemAlterationListener pListener)voidcheckAndNotify()FilesystemAlterationListener[]getListeners()java.io.FilegetRootDirectory()voidremoveListener(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()
-
-