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
 void addListener(FilesystemAlterationListener pListener)
           
 void checkAndNotify()
           
 FilesystemAlterationListener[] getListeners()
           
 File getRootDirectory()
           
 void removeListener(FilesystemAlterationListener pListener)
           
 

Method Detail

getRootDirectory

File getRootDirectory()

checkAndNotify

void checkAndNotify()

addListener

void addListener(FilesystemAlterationListener pListener)

removeListener

void removeListener(FilesystemAlterationListener pListener)

getListeners

FilesystemAlterationListener[] getListeners()


Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.