public class ConfigurationUtils extends Object
| 构造器和说明 |
|---|
ConfigurationUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
get(String property,
int defaultValue) |
static Configuration |
getDynamicGlobalConfiguration() |
static String |
getDynamicProperty(String property) |
static String |
getDynamicProperty(String property,
String defaultValue) |
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 Configuration getDynamicGlobalConfiguration()
public static int getServerShutdownTimeout()
public static int get(String property, int defaultValue)
public static Map<String,String> parseProperties(String content) throws IOException
IOExceptionCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.