GenericTools is the set of classes that provide basic infrastructure for using tools in standard Java SE Velocity projects, as well as a set of tools for use in generic Velocity templates. These tools have no Java EE dependencies and are often safe to use as "singletons". Some of them are not thread-safe to allow both a no-arg constructor and configurability, but the state-changing methods are declared protected with the exception of configure(Map) which is--by default--rendered useless after being used just once. If you require strict thread-safety, be very cautious in using any configurable tools.

Default Configuration

The default configuration provided for GenericTools is here.


TODO: just link to an anchor in a comprehensive dependencies overview page?


VelocityTools2/GenericTools (last edited 2009-09-20 22:06:12 by localhost)