public class PropertyUtils extends Object
| 构造器和说明 |
|---|
PropertyUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Map<String,String> |
getConfigMap(InputStream is) |
static String |
getProperty(String location,
String key)
get property of the key in specified location
|
public static String getProperty(String location, String key)
key - use before "="location - "/config/config.ini"-"/WEB-INFO/classes/config"public static Map<String,String> getConfigMap(InputStream is) throws IOException
IOExceptionCopyright © 2020. All rights reserved.