public class FileWatcherThread
extends java.lang.Thread
| Constructor and Description |
|---|
FileWatcherThread(java.io.File watchedFile,
FileWatcherListener listener)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic FileWatcherThread(java.io.File watchedFile,
FileWatcherListener listener)
throws java.io.IOException
watchedFile - the file to watchlistener - the listener to alert when the watched file changesjava.io.IOException - on failureCopyright © 2015 Whizzo Software LLC. All rights reserved.