public class CompileJava extends Object
| 构造器和说明 |
|---|
CompileJava() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
compile(File file,
Set<String> classPaths,
ChromeProxy log) |
static boolean |
compile(File file,
Set<String> libPaths,
Set<String> classPaths,
ChromeProxy log) |
static boolean |
compile(Set<File> list,
Set<String> libPaths,
Set<String> classPaths,
ChromeProxy log) |
static boolean |
compile(String src,
Set<String> paths,
ChromeProxy chrome) |
static boolean |
compile(String src,
Set<String> paths,
Set<String> classPaths,
ChromeProxy chrome) |
static Class |
dynCompile(String className,
String classCode,
String desc) |
static String |
getAbsolutePath(String relativePath) |
static Set<File> |
getAllJavaFile(File srcFile) |
static void |
main(String[] args) |
public static boolean compile(Set<File> list, Set<String> libPaths, Set<String> classPaths, ChromeProxy log) throws IOException
IOExceptionpublic static boolean compile(File file, Set<String> classPaths, ChromeProxy log) throws IOException
IOExceptionpublic static boolean compile(File file, Set<String> libPaths, Set<String> classPaths, ChromeProxy log) throws IOException
IOExceptionpublic static boolean compile(String src, Set<String> paths, ChromeProxy chrome) throws IOException
IOExceptionpublic static Class dynCompile(String className, String classCode, String desc) throws IOException, ClassNotFoundException
public static boolean compile(String src, Set<String> paths, Set<String> classPaths, ChromeProxy chrome) throws IOException
IOExceptionCopyright © 2023 onecode. All rights reserved.