类的使用
org.apache.velocity.tools.generic.ValueParser
使用ValueParser的程序包
程序包
说明
Contains a collection of reusable, general-purpose "tools" for Velocity.
-
org.apache.velocity.tools.generic中ValueParser的使用
修饰符和类型方法说明subkey getter that returns a map subkey#2 -> value for every "subkey.subkey2" found entry修饰符和类型方法说明protected voidAlternatorTool.configure(ValueParser parser) 已过时。Looks for a default auto-alternate value in the given params, if not, set the default to true.protected voidClassTool.configure(ValueParser values) Configure this toolprotected voidCollectionTool.configure(ValueParser values) Does the actual configuration.protected voidComparisonDateTool.configure(ValueParser values) Calls the superclass implementation, then looks for a bundle name and any time units to be skipped.protected voidContextTool.configure(ValueParser parser) Initializes this instance for the current request.protected voidConversionTool.configure(ValueParser values) 已过时。Does the actual configuration.protected voidDateTool.configure(ValueParser values) Does the actual configuration.protected voidDisplayTool.configure(ValueParser values) Does the actual configuration.protected voidEscapeTool.configure(ValueParser values) Does the actual configuration.protected voidFieldTool.configure(ValueParser values) protected voidFormatConfig.configure(ValueParser values) Does the actual configuration.protected voidImportSupport.configure(ValueParser values) Configure import supportprotected voidImportTool.configure(ValueParser values) Configurationprotected voidJsonTool.configure(ValueParser values) Looks for the "file" parameter and automatically usesJsonTool.initJSON(String)to parse the file (searched in filesystem current path and classpath) and set the resulting JSON object as the root node for this instance.protected voidLinkTool.configure(ValueParser props) Configurationprotected voidLocaleConfig.configure(ValueParser values) Does the actual configuration.protected voidRenderTool.configure(ValueParser parser) Looks for deprecated parse depth and catch.exceptions properties, as well as any 'forceThreadSafe' setting.protected voidResourceTool.configure(ValueParser parser) protected voidSafeConfig.configure(ValueParser values) Does the actual configuration.protected voidValueParser.configure(ValueParser values) Does the actual configuration.protected voidXmlTool.configure(ValueParser values) Configuration.protected voidImportTool.initializeImportSupport(ValueParser config) Importsupport initializationprotected voidJsonTool.initializeImportSupport(ValueParser config) ImportSupport initializationprotected voidXmlTool.initializeImportSupport(ValueParser config) ImportSupport initializationprotected voidSafeConfig.initLogger(ValueParser params) Initialize logger.