public class CompileFile extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
CompileFile(File file)
编译指定文件
|
CompileFile(String filePath,
String compPath)
编译java类文件
|
CompileFile(String filePath,
String compPath,
String classPath,
String encoding)
编译java类文件,不指定编译路径默认为项目Class根目录
|
| 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 CompileFile(String filePath, String compPath, String classPath, String encoding)
filePath - 类文件全路径compPath - 类编译全路径classPath - 编译相对路径encoding - 编码public CompileFile(String filePath, String compPath)
filePath - 文件路径compPath - 类编译全路径public CompileFile(File file)
file - 文件Copyright © 2017. All rights reserved.