Maven Repository

Snippetory is now available in Maven Repository. This makes it easy to integrate it into projects. There’s a Maven Repository integration for almost any existing Java build tool. So, just add the dependency and dive into it:

   Template test = Repo.parse("Hello {v:who}");
   test.set("who", world).render(System.out);

No additional dependencies, no problems just simplicity and fun.
Another simple example on jproggy.org

About these ads