public class RuntimeDirectoryThread
extends java.lang.Thread
| Constructor and Description |
|---|
RuntimeDirectoryThread(java.io.File dir) |
RuntimeDirectoryThread(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCleanupHook() |
void |
cleanup() |
java.nio.file.Path |
getBasePath() |
void |
removeCleanupHook() |
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 RuntimeDirectoryThread(java.lang.String id)
public RuntimeDirectoryThread(java.io.File dir)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void addCleanupHook()
public void removeCleanupHook()
public void cleanup()
throws java.io.IOException
java.io.IOExceptionpublic java.nio.file.Path getBasePath()