common java utils for Adi3000