类的使用
org.apache.velocity.tools.generic.SafeConfig

使用SafeConfig的程序包
程序包
说明
Contains a collection of reusable, general-purpose "tools" for Velocity.
  • org.apache.velocity.tools.genericSafeConfig的使用

    修饰符和类型
    说明
    class 
    已过时。
    use CSS3 nth-child(even/odd) selectors or #if($foreach.index % 2)
    class 
    This tool is meant to simplify reflective lookup of information about a Class and its Fields, Methods, and Constructors.
    class 
    CollectionTool allows a user to sort a collection (or array, iterator, etc) on any arbitrary set of properties exposed by the objects contained within the collection, and to generate arrays by splitting strings.
    class 
    Tool for comparing Date and Calendar values in Velocity templates.
    class 
    Tool for convenient access to Context data and meta-data.
    class 
    已过时。
    use NumberTool for numbers formatting/parsing, DateTool for date/time formatting/parsing, or CollectionTool for toStrings().
    class 
    Tool for working with Date and Calendar in Velocity templates.
    class 
    Provides general utility methods for controlling the display of references.
    class 
    Tool for working with escaping in Velocity templates.
    class 
    This is a simple tools class to allow easy access to static fields in a class, such as string constants from within a template.
    class 
    Implements common logic and constants for tools which allow their default format to be configured.
    class 
    Provides methods to import arbitrary local or remote resources as strings, generic version.
    class 
    General-purpose text-importing tool for templates.
    class 
    Tool which can parse a JSON file.
    class 
    The LinkTool provides many methods to work with URIs and can help you:
    class 
    Implements common logic and constants for tools which allow their default Locale to be configured.
    class 
    This tool is used to log from within templates.
    class 
    A convenience tool to use with #foreach loops.
    class 
    NOTE: This tools is considered "alpha" quality due to lack of testing and a generally unpolished API.
    class 
    Tool for performing math in Velocity.
    class 
    Tool for working with Number in Velocity templates.
    class 
    This tool exposes methods to evaluate the given strings as VTL (Velocity Template Language) using either a pre-configured context or one you provide directly.
    class 
    Tool for accessing ResourceBundles and formatting messages therein.
    class 
    已过时。
    use CollectionTool sort methods
    class 
    Utility class for easy parsing of String values held in a Map.
    class 
    Tool for reading/navigating XML files, with XPath expressions support.