it.geosolutions.filesystemmonitor.monitor
Interface FileSystemMonitor


public interface FileSystemMonitor

Author:
Simone Giannecchini, GeoSolutions

Method Summary
 void addListener(FileSystemListener fileListener)
           
 void dispose()
          Disposing all the collections of objects I have created along the path, which are, listeners, files and of course the time.
 java.io.File getFile()
           
 java.lang.String getWildCard()
           
 boolean isPaused()
           
 boolean isRunning()
          Check if FileSystemMonitor is running
 void pause()
           
 void removeListener(FileSystemListener fileListener)
           
 void reset()
           
 void start()
          Start the file monitor polling.
 void stop()
          Stop the file monitor polling.
 

Method Detail

start

void start()
Start the file monitor polling.


stop

void stop()
Stop the file monitor polling.


pause

void pause()

reset

void reset()

isRunning

boolean isRunning()
Check if FileSystemMonitor is running


isPaused

boolean isPaused()

dispose

void dispose()
Disposing all the collections of objects I have created along the path, which are, listeners, files and of course the time.


getFile

java.io.File getFile()
Returns:
the watchDirectory

getWildCard

java.lang.String getWildCard()
Returns:
the wildCard

addListener

void addListener(FileSystemListener fileListener)

removeListener

void removeListener(FileSystemListener fileListener)


Copyright © 2006-2012 GeoSolutions. All Rights Reserved.