deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.io.util
Class FileMonitor.FileMonitorTask

java.lang.Object
  extended by java.util.TimerTask
      extended by org.deegree.io.util.FileMonitor.FileMonitorTask
All Implemented Interfaces:
Runnable
Enclosing class:
FileMonitor

 class FileMonitor.FileMonitorTask
extends TimerTask


Field Summary
(package private)  String fileName
           
(package private)  long lastModified
           
(package private)  FileChangeListener listener
           
(package private)  File monitoredFile
           
 
Constructor Summary
FileMonitor.FileMonitorTask(FileChangeListener listener, String fileName)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listener

FileChangeListener listener

fileName

String fileName

monitoredFile

File monitoredFile

lastModified

long lastModified
Constructor Detail

FileMonitor.FileMonitorTask

public FileMonitor.FileMonitorTask(FileChangeListener listener,
                                   String fileName)
                            throws FileNotFoundException
Parameters:
listener -
fileName -
Throws:
FileNotFoundException
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Specified by:
run in class TimerTask

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org