public static Map<String, String> toMap(Properties properties) {
        if (properties == null) {
            return new HashMap<String, String>(0);
        }
        Map<String, String> map = new HashMap<String, String>(properties.size());

        for (Map.Entry<Object, Object> entry : properties.entrySet()) {
            map.put(entry.getKey().toString(), entry.getValue().toString());
        }
        return map;
    }
@author Robert HG (254963746@qq.com) on 6/23/14.
lts-core/src/main/java/com/github/ltsopensource/core/commons/utils/CollectionUtils.java