More details are here: velocity.jcabi.com
VelocityPage
is a convenient builder/wrapper around Apache Velocity:
import com.jcabi.velocity.VelocityPage;
public class Main {
public static void main(String[] args) {
String text = new VelocityPage("/com/foo/template.vm")
.set("name", "John Doe")
.set("file", file)
.set("document", doc)
.toString();
}
}
Questions?
If you have any questions about the framework, or something doesn't work as expected, please submit an issue here.
How to contribute?
Fork the repository, make changes, submit a pull request. We promise to review your changes same day and apply to the master
branch, if they look correct.
Please run Maven build before submitting a pull request:
$ mvn clean install -Pqulice