org.apache.commons.jci.monitor
Interface FilesystemAlterationListener

All Known Implementing Classes:
AbstractFilesystemAlterationListener, CompilingListener, FileChangeListener, ReloadingListener

public interface FilesystemAlterationListener

A listener that receives events of filesystem modifications. The observer basically represents the source of the events. The file root and its state. (see FilesystemAlterationObserver)

Author:
tcurdt

Method Summary
 void onDirectoryChange(File pDir)
           
 void onDirectoryCreate(File pDir)
           
 void onDirectoryDelete(File pDir)
           
 void onFileChange(File pFile)
           
 void onFileCreate(File pFile)
           
 void onFileDelete(File pFile)
           
 void onStart(FilesystemAlterationObserver pObserver)
           
 void onStop(FilesystemAlterationObserver pObserver)
           
 

Method Detail

onStart

void onStart(FilesystemAlterationObserver pObserver)

onFileCreate

void onFileCreate(File pFile)

onFileChange

void onFileChange(File pFile)

onFileDelete

void onFileDelete(File pFile)

onDirectoryCreate

void onDirectoryCreate(File pDir)

onDirectoryChange

void onDirectoryChange(File pDir)

onDirectoryDelete

void onDirectoryDelete(File pDir)

onStop

void onStop(FilesystemAlterationObserver pObserver)


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