public class PropertiesUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
add(String filePath,
String pKey,
String pValue) |
static PropertiesUtil |
getInstance(String propertiesPath) |
int |
getInt(String key) |
Enumeration<?> |
getKeys() |
Object |
getObject(String key) |
String |
getString(String key) |
String[] |
getStringArray(String key,
String split) |
boolean |
update(String propertiesFilePath,
String key,
int value) |
public static PropertiesUtil getInstance(String propertiesPath)
public Enumeration<?> getKeys()
public int getInt(String key)
public void add(String filePath, String pKey, String pValue) throws IOException
IOExceptionCopyright © 2016 jufeng. All rights reserved.