public class ConfigurationUtils extends Object
| Constructor and Description |
|---|
ConfigurationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Configuration |
getEnvConfiguration()
Used to get properties from the os environment
|
static Configuration |
getGlobalConfiguration()
Used to get an composite property value.
|
static String |
getProperty(String property) |
static String |
getProperty(String property,
String defaultValue) |
static int |
getServerShutdownTimeout() |
static Configuration |
getSystemConfiguration()
Used to get properties from the jvm
|
static Map<String,String> |
parseProperties(String content) |
public static Configuration getSystemConfiguration()
public static Configuration getEnvConfiguration()
public static Configuration getGlobalConfiguration()
Also see Environment.getConfiguration()
public static int getServerShutdownTimeout()
public static Map<String,String> parseProperties(String content) throws IOException
IOExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.