Cloud's converter sample in java