add java doc
Merge pull request #325 from forumbyr/master

add java doc