Examples of DateFormatFunction


Examples of com.firefly.template.function.DateFormatFunction

  public TemplateFactory init() {
    if(config == null)
      throw new IllegalArgumentException("template config is null");
   
    long start = System.currentTimeMillis();
    FunctionRegistry.add("dateFormat", new DateFormatFunction(config.getCharset()));
    FunctionRegistry.add("len", new LengthFunction(config.getCharset()));
    ViewFileReader reader = new ViewFileReader(config);
    List<String> javaFiles = reader.getJavaFiles();
    List<String> templateFiles = reader.getTemplateFiles();
    List<String> classNames = reader.getClassNames();
View Full Code Here

Examples of com.firefly.template.function.DateFormatFunction

  public TemplateFactory init() {
    if(config == null)
      throw new IllegalArgumentException("template config is null");
   
    long start = System.currentTimeMillis();
    FunctionRegistry.add("dateFormat", new DateFormatFunction(config.getCharset()));
    FunctionRegistry.add("len", new LengthFunction(config.getCharset()));
    FunctionRegistry.add("increment", new AutoincrementFunction(config.getCharset()));
    FunctionRegistry.add("cut", new CutStringFunction(config.getCharset()));
    FunctionRegistry.add("escape", new XmlEscapeFunction(config.getCharset()));
    FunctionRegistry.add("remove", new RemoveAttributeFunction());
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.