public final class ConfigUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(String key) |
static ConfigUtil |
getInstance(String filename) |
static Properties |
getProperties(String filename)
Reads the configuration data file.
|
String |
getProperty(String property) |
<T> T |
getPropertyAs(Class<T> clazz,
String property) |
void |
putProperty(String property,
Object value) |
public static ConfigUtil getInstance(String filename)
filename - The configuration data file path.public boolean containsKey(String key)
public static Properties getProperties(String filename)
Properties.filename - Properties.Copyright © 2016 Omnia Consulting. All rights reserved.