|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectiitb.con.util.PropertiesConfig
public class PropertiesConfig
Properties Configuration util
| Constructor Summary | |
|---|---|
PropertiesConfig()
|
|
| Method Summary | |
|---|---|
static java.util.Properties |
loadProperties(java.lang.Class clazz,
java.lang.String fileName)
Loads the properties from the config file, if file is inside a package |
static java.util.Properties |
loadProperties(java.lang.String fileName)
Loads the properties from the config file |
static void |
storeProperties(java.lang.Class clazz,
java.lang.String fileName,
java.util.Properties properties)
Stores the properties into the config file, if file is inside a package |
static void |
storeProperties(java.lang.String fileName,
java.util.Properties properties)
Stores the properties into the config file |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesConfig()
| Method Detail |
|---|
public static java.util.Properties loadProperties(java.lang.Class clazz,
java.lang.String fileName)
clazz - package classfileName - config file name
Propertiespublic static java.util.Properties loadProperties(java.lang.String fileName)
fileName - config file name
Properties
public static void storeProperties(java.lang.Class clazz,
java.lang.String fileName,
java.util.Properties properties)
clazz - package classfileName - config file nameproperties - Properties
public static void storeProperties(java.lang.String fileName,
java.util.Properties properties)
fileName - config file nameproperties - Properties
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||