public class PropUtil extends Object
| Constructor and Description |
|---|
PropUtil() |
| Modifier and Type | Method and Description |
|---|---|
static File |
getMasterConfig()
Return the MASTER config file.
|
static void |
sanitizeMasterConfig()
Remove unused properties from the MASTER config file.
|
static void |
saveMasterConfig()
Save a single version of the Config file with all inherited properties for the default config (if any exist).
|
static void |
saveMasterConfig(Map<String,String> props)
Save a single version of the Config file with all inherited properties for the default config (if any exist).
|
public static File getMasterConfig()
public static void sanitizeMasterConfig()
throws Exception
Exception - if runtime errors occurpublic static void saveMasterConfig()
throws Exception
Exception - if errors occurpublic static void saveMasterConfig(Map<String,String> props) throws Exception
props - Properties mapException - if errors occur