List of usage examples for org.apache.commons.collections4 MapUtils toProperties
public static <K, V> Properties toProperties(final Map<K, V> map)
From source file:com.feilong.core.bean.ConvertUtil.java
/** * map? {@link Properties}./*from w w w . j a va2 s .c o m*/ * * <p> * Properties ?? ? keyvalue,map key valuenull, {@link NullPointerException} * </p> * * @param map * the map * @return <code>map</code> null, empty Properties<br> * @see org.apache.commons.collections4.MapUtils#toProperties(Map) * @since 1.7.3 */ public static Properties toProperties(final Map<String, String> map) { return MapUtils.toProperties(map); }