Package org.lilystudio.util

Examples of org.lilystudio.util.StringReader


   *          字符串
   * @throws TemplateException
   *           模板生成过程中产生错误
   */
  public Template(Engine engine, String text) throws TemplateException {
    this(engine, null, new StringReader(text), true);
  }
View Full Code Here


  /** 需要回写保存的参数名称 */
  private String[] names;

  public void init(String text, String... objects) throws Exception {
    node = engine.parse(new StringReader(text), "");
    names = objects;
  }
View Full Code Here

TOP

Related Classes of org.lilystudio.util.StringReader

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.