Added Java API
Style