| Constructor and Description |
|---|
FileMonitor(File rootDir,
Long interval,
FileChangesListener listener)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
FileChangesListener |
getListener() |
File |
getRoot() |
void |
run() |
cancel, scheduledExecutionTimepublic FileMonitor(File rootDir, Long interval, FileChangesListener listener)
interval - The interval between executions of the task, in milliseconds.public File getRoot()
public FileChangesListener getListener()
public void run()
run in interface Runnablerun in class TimerTaskTimerTask.run()Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.