edu.samplu.common
Class PropertiesUtils
java.lang.Object
edu.samplu.common.PropertiesUtils
public class PropertiesUtils
- extends Object
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesUtils
public PropertiesUtils()
loadPropertiesWithSystemOverrides
public static Properties loadPropertiesWithSystemOverrides(InputStream inputStream)
throws IOException
- Throws:
IOException
loadPropertiesWithSystemOverridesAndNumberedPropertiesToList
public static Properties loadPropertiesWithSystemOverridesAndNumberedPropertiesToList(InputStream inputStream)
throws IOException
- Throws:
IOException
loadProperties
public static Properties loadProperties(InputStream inputStream)
throws IOException
- Throws:
IOException
removeNumber
public static String removeNumber(String numberedKey)
systemPropertiesOverride
public static void systemPropertiesOverride(Properties props)
systemPropertiesOverride
public static void systemPropertiesOverride(Properties props,
String key)
- -Dkey.propertyname= to override the property value for propertyname.
- Parameters:
props
- properties to update with System.getProperty overrides.key
- optional value that the property names will be appended to.
transformNumberedPropertiesToList
public static void transformNumberedPropertiesToList(Properties props)
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.