Updated JavaApiDemo so that it includes examples of how to use the newly added methods
Wording fix