类 ImportTool

所有已实现的接口:
Serializable

@DefaultKey("import") @ValidScope("request") public class ImportTool extends ImportTool
General-purpose text-importing view tool for templates.

Usage:
Just call $import.read("http://www.foo.com/bleh.jsp?sneh=bar") to insert the contents of the named resource into the template.

 Toolbox configuration:
 <tools>
   <toolbox scope="request">
     <tool class="org.apache.velocity.tools.view.ImportTool"/>
   </toolbox>
 </tools>
 
从以下版本开始:
VelocityTools 2.0
版本:
$Revision$ $Date$
作者:
Marino A. Jonsson
另请参阅:
  • 构造器详细资料

    • ImportTool

      public ImportTool()
  • 方法详细资料