Updated Java docs.

Signed-off-by: Anuj kumar <anuj.gandharv@gmail.com>