In my copious spare time, I have managed to cobble together an initial implementation of the URI Templates spec (RFC6570), for Java. The project is up on GitHub here:
http://github.com/damnhandy/Handy-URI-Templates
The majority of the documentation is available in the README file, so have a gander at that for details on how to use it. It’s in the initial phases right now, but it’s a good time to kick the tires and provide feedback.