public class PropertiesUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getProperty(String key) |
String |
getProperty(String key,
String defaultValue) |
Boolean |
getPropertyToBoolean(String key) |
Boolean |
getPropertyToBoolean(String key,
boolean defaultValue) |
Integer |
getPropertyToInt(String key) |
Integer |
getPropertyToInt(String key,
Integer defaultValue) |
Properties |
loadPropertyFile(String file) |
static PropertiesUtils |
me() |
public static PropertiesUtils me()
public Properties loadPropertyFile(String file)
Copyright © 2014. All rights reserved.