Package com.alibaba.otter.shared.common.utils.compile.impl

Examples of com.alibaba.otter.shared.common.utils.compile.impl.JdkCompiler


            List<String> lines = IOUtils.readLines(Thread.currentThread().getContextClassLoader().getResourceAsStream("compiler.txt"));
            javasource = StringUtils.join(lines, "\n");
        } catch (IOException e1) {
            e1.printStackTrace();
        }
        JdkCompiler compiler = new JdkCompiler();

        Class<?> clazz = compiler.compile(javasource);
        System.out.println(clazz.getName());
    }
View Full Code Here

TOP

Related Classes of com.alibaba.otter.shared.common.utils.compile.impl.JdkCompiler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.