本文整理了Java中freemarker.template.Configuration.getVersionNumber()
方法的一些代码示例,展示了Configuration.getVersionNumber()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Configuration.getVersionNumber()
方法的具体详情如下:
包路径:freemarker.template.Configuration
类名称:Configuration
方法名:getVersionNumber
[英]Returns FreeMarker version number string.
[中]返回FreeMarker版本号字符串。
代码示例来源:origin: org.freemarker/freemarker
return new SimpleScalar(Configuration.getVersionNumber());
代码示例来源:origin: net.sourceforge.fmpp/fmpp
/**
* @deprecated Use {@link #getFreeMarkerVersion()} instead. If you have need a {@link String}, it has a proper
* {@link Version#toString()}.
*/
public static String getFreeMarkerVersionNumber() {
return Configuration.getVersionNumber();
}
代码示例来源:origin: org.freemarker/com.springsource.freemarker
public static void main(String[] args) {
System.out.println();
System.out.print("FreeMarker version ");
System.out.println(Configuration.getVersionNumber());
System.out.println();
System.out.println("Copyright (c) 2003 The Visigoth Software Society.");
System.out.println("All rights reserved.");
System.out.println();
System.out.println("This is Free software. Please read the LICENSE.txt comes with ");
System.out.println("the distribution for more details.");
System.out.println();
System.out.println("For more information and for updates visit our WWW site:");
System.out.println("http://freemarker.org/");
System.out.println();
}
}
代码示例来源:origin: net.sourceforge.schemacrawler/schemacrawler
LOGGER.log(Level.INFO, Configuration.getVersionNumber());
LOGGER.log(Level.INFO, "FreeMarker configuration properties - " + cfg);
代码示例来源:origin: org.freemarker/com.springsource.freemarker
return new SimpleScalar(Configuration.getVersionNumber());
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.freemarker
return new SimpleScalar(Configuration.getVersionNumber());
代码示例来源:origin: org.freemarker/freemarker-gae
return new SimpleScalar(Configuration.getVersionNumber());
内容来源于网络,如有侵权,请联系作者删除!