I'm not sure a velocity tool is the good place for this. It's not related to Velocity. Any scripting language may need it, and also any java code may need it.