API:Client code/Java/en