add EncodeType.java and PropertiesUtil.java