Utilities on Properties in Java