Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| 构造器和说明 |
|---|
I18nFileMonitor() |
I18nFileMonitor(long interval) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
monitor(String path,
org.apache.commons.io.monitor.FileAlterationListener listener)
给文件添加监听
|
void |
run() |
void |
startMonitor() |
void |
stopMonitor() |
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 I18nFileMonitor(long interval)
public I18nFileMonitor()
public void monitor(String path, org.apache.commons.io.monitor.FileAlterationListener listener)
path - 文件路径listener - 文件监听器Copyright © 2024. All rights reserved.