org.apache.commons.jci.monitor
Class FilesystemAlterationMonitor

java.lang.Object
  extended byorg.apache.commons.jci.monitor.FilesystemAlterationMonitor
All Implemented Interfaces:
java.lang.Runnable

public final class FilesystemAlterationMonitor
extends java.lang.Object
implements java.lang.Runnable


Nested Class Summary
 class FilesystemAlterationMonitor.Entry
           
static class FilesystemAlterationMonitor.UniqueMultiHashMap
           
 
Constructor Summary
FilesystemAlterationMonitor()
           
 
Method Summary
 void addListener(FilesystemAlterationListener pListener)
           
 java.util.Collection getListeners()
           
 java.util.Collection getListenersFor(java.io.File pRepository)
           
 void removeListener(FilesystemAlterationListener listener)
           
 void run()
           
 void setInterval(long pDelay)
           
 void start()
           
 void stop()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilesystemAlterationMonitor

public FilesystemAlterationMonitor()
Method Detail

start

public void start()

stop

public void stop()

setInterval

public void setInterval(long pDelay)

addListener

public void addListener(FilesystemAlterationListener pListener)

getListeners

public java.util.Collection getListeners()

getListenersFor

public java.util.Collection getListenersFor(java.io.File pRepository)

removeListener

public void removeListener(FilesystemAlterationListener listener)

run

public void run()
Specified by:
run in interface java.lang.Runnable

toString

public java.lang.String toString()


Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.