Package japidviews.templates

Examples of japidviews.templates.AllPost.render()


      // System.out.println("run templating: " + i);
      // StringWriter out = new StringWriter(1000);
      // PrintWriter printWriter = new PrintWriter(out);
      te = new AllPost(new StringBuilder(1000));
      t = System.currentTimeMillis();
      te.render("抬头", posts);
      System.out.println(System.currentTimeMillis() - t);
      // System.out.println(out.toString());
      // Thread.sleep(5);
    }
    System.out.println("total time: " + (System.currentTimeMillis() - tt));
View Full Code Here


      // System.out.println("run templating: " + i);
      // StringWriter out = new StringWriter(1000);
      // PrintWriter printWriter = new PrintWriter(out);
      te = new AllPost(new StringBuilder(1000));
      t = System.currentTimeMillis();
      te.render("抬头", posts);
      System.out.println(System.currentTimeMillis() - t);
      // System.out.println(out.toString());
      // Thread.sleep(5);
    }
    System.out.println("total time: " + (System.currentTimeMillis() - tt));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.