Package jetbrick.template

Examples of jetbrick.template.JetEngine$ConcurrentTemplateCache


public class EncodingTestCase {

    public static void main(String[] args) {
        Properties config = new Properties();
        //config.put(JetConfig.COMPILE_TOOL, JdtCompiler.class.getName());
        JetEngine engine = JetEngine.create(config);

        JetTemplate template = engine.createTemplate("是否登录");
        StringWriter out = new StringWriter();
        template.render(new HashMap<String, Object>(), out);
        System.out.println(out.toString());
    }
View Full Code Here

TOP

Related Classes of jetbrick.template.JetEngine$ConcurrentTemplateCache

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.