public final class AppInitPropertiesService extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getKeys(String strPrefix)
Returns a list of keys that match a given prefix.
|
static Properties |
getProperties()
Gets properties
|
static Map<String,String> |
getPropertiesAsMap()
Get all properties As map
|
static String |
getProperty(String strProperty)
Returns the value of a variable defined in the .properties file of the application as a String
|
static void |
init(String strConfPath)
Initializes the service
|
static void |
reload(String strFilename)
Reloads a given properties file
|
static void |
reloadAll()
Reloads all the properties files
|
public static void init(String strConfPath)
strConfPath - The configuration pathpublic static String getProperty(String strProperty)
strProperty - The variable namepublic static void reloadAll()
public static void reload(String strFilename)
strFilename - The file namepublic static Properties getProperties()
public static Map<String,String> getPropertiesAsMap()
Copyright © 2024 City of Paris. All rights reserved.