Skip to content

jcabi/jcabi-velocity

Repository files navigation

EO principles respected here Managed by Zerocracy DevOps By Rultor.com

mvn PDD status Maven Central Javadoc

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();
  }
}

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