类的使用
org.apache.velocity.tools.ToolContext
使用ToolContext的程序包
-
org.apache.velocity.tools中ToolContext的使用
修饰符和类型方法说明ToolManager.createContext()create new context with configured toolboxes toolsToolManager.createContext(Map<String, Object> toolProps) create new context with configured toolboxes tools, using the provided tools properties参数类型为ToolContext的org.apache.velocity.tools中的方法修饰符和类型方法说明protected voidToolManager.addToolboxes(ToolContext context) Add toolboxes to contexprotected voidToolManager.prepareContext(ToolContext context) Prepare context