org.apache.commons.jci.listeners
Class FileChangeListener

java.lang.Object
  extended byorg.apache.commons.jci.listeners.NotifyingListener
      extended byorg.apache.commons.jci.listeners.FileChangeListener
All Implemented Interfaces:
FilesystemAlterationListener

public class FileChangeListener
extends NotifyingListener


Nested Class Summary
 
Nested classes inherited from class org.apache.commons.jci.listeners.NotifyingListener
NotifyingListener.Signal
 
Field Summary
 
Fields inherited from class org.apache.commons.jci.listeners.NotifyingListener
notificationListener, repository
 
Constructor Summary
FileChangeListener(java.io.File pRepository)
           
 
Method Summary
 void onChangeDirectory(java.io.File pDir)
           
 void onChangeFile(java.io.File pFile)
           
 void onCreateDirectory(java.io.File pDir)
           
 void onCreateFile(java.io.File pFile)
           
 void onDeleteDirectory(java.io.File pDir)
           
 void onDeleteFile(java.io.File pFile)
           
 void onStart()
           
 void onStop()
           
 
Methods inherited from class org.apache.commons.jci.listeners.NotifyingListener
checked, getRepository, setNotificationListener, waitForCheck, waitForFirstCheck, waitForNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileChangeListener

public FileChangeListener(java.io.File pRepository)
Method Detail

onStart

public void onStart()

onStop

public void onStop()

onChangeFile

public void onChangeFile(java.io.File pFile)

onCreateFile

public void onCreateFile(java.io.File pFile)

onDeleteFile

public void onDeleteFile(java.io.File pFile)

onChangeDirectory

public void onChangeDirectory(java.io.File pDir)

onCreateDirectory

public void onCreateDirectory(java.io.File pDir)

onDeleteDirectory

public void onDeleteDirectory(java.io.File pDir)


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