deegree 2.5 (2011/06/29 09:44 build-8-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:
java.lang.Runnable
Enclosing class:
FileMonitor

 class FileMonitor.FileMonitorTask
extends java.util.TimerTask


Field Summary
(package private)  java.lang.String fileName
           
(package private)  long lastModified
           
(package private)  FileChangeListener listener
           
(package private)  java.io.File monitoredFile
           
 
Constructor Summary
FileMonitor.FileMonitorTask(FileChangeListener listener, java.lang.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

java.lang.String fileName

monitoredFile

java.io.File monitoredFile

lastModified

long lastModified
Constructor Detail

FileMonitor.FileMonitorTask

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

run

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

deegree 2.5 (2011/06/29 09:44 build-8-official)

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