从String创建Velocity模板的最佳方法是什么?
我知道Velocity.evaluate方法,我可以传递String或StringReader,但我很好,有更好的方法(例如创建模板实例的任何优点).
java velocity
java ×1
velocity ×1