public class PropertiesUtils extends Object
| Constructor and Description | 
|---|
PropertiesUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Properties | 
loadProperties(InputStream inputStream)  | 
static Properties | 
loadPropertiesWithSystemOverrides(InputStream inputStream)  | 
static Properties | 
loadPropertiesWithSystemOverridesAndNumberedPropertiesToList(InputStream inputStream)  | 
static String | 
removeNumber(String numberedKey)  | 
static void | 
systemPropertiesOverride(Properties props)  | 
static void | 
systemPropertiesOverride(Properties props,
                        String key)
-Dkey.propertyname= to override the property value for propertyname. 
 | 
static void | 
transformNumberedPropertiesToList(Properties props)  | 
public PropertiesUtils()
public static Properties loadPropertiesWithSystemOverrides(InputStream inputStream) throws IOException
IOExceptionpublic static Properties loadPropertiesWithSystemOverridesAndNumberedPropertiesToList(InputStream inputStream) throws IOException
IOExceptionpublic static Properties loadProperties(InputStream inputStream) throws IOException
IOExceptionpublic static String removeNumber(String numberedKey)
public static void systemPropertiesOverride(Properties props)
public static void systemPropertiesOverride(Properties props, String key)
props - properties to update with System.getProperty overrides.key - optional value that the property names will be appended to.public static void transformNumberedPropertiesToList(Properties props)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.