Read all changable data out of Constants.java.

We will be generating Constants.java from a template, rather than
editing java files directly.