All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tacitknowledge.simulator.ConfigurationUtil Maven / Gradle / Ivy

The newest version!
package com.tacitknowledge.simulator;

import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import java.util.Map.Entry;

/**
 * @author galo
 */
public final class ConfigurationUtil
{
    /**
     * Default constructor
     */
    private ConfigurationUtil()
    {}

    public static Map getPropertiesMap(Properties properties)
    {
        Map map = new HashMap();

        for (Entry entry : properties.entrySet())
        {
            map.put(entry.getKey().toString(), entry.getValue().toString());
        }

        return map;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy