org.apache.commons.jci.monitor
Class FilesystemAlterationObserverImpl

java.lang.Object
  extended by org.apache.commons.jci.monitor.FilesystemAlterationObserverImpl
All Implemented Interfaces:
FilesystemAlterationObserver

public class FilesystemAlterationObserverImpl
extends Object
implements FilesystemAlterationObserver

Implementation of a FilesystemAlterationObserver

Author:
tcurdt

Constructor Summary
FilesystemAlterationObserverImpl(File pRootDirectory)
           
 
Method Summary
 void addListener(FilesystemAlterationListener pListener)
           
 void checkAndNotify()
           
 FilesystemAlterationListener[] getListeners()
           
 File getRootDirectory()
           
 void removeListener(FilesystemAlterationListener pListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilesystemAlterationObserverImpl

public FilesystemAlterationObserverImpl(File pRootDirectory)
Method Detail

checkAndNotify

public void checkAndNotify()
Specified by:
checkAndNotify in interface FilesystemAlterationObserver

getRootDirectory

public File getRootDirectory()
Specified by:
getRootDirectory in interface FilesystemAlterationObserver

addListener

public void addListener(FilesystemAlterationListener pListener)
Specified by:
addListener in interface FilesystemAlterationObserver

removeListener

public void removeListener(FilesystemAlterationListener pListener)
Specified by:
removeListener in interface FilesystemAlterationObserver

getListeners

public FilesystemAlterationListener[] getListeners()
Specified by:
getListeners in interface FilesystemAlterationObserver


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