Interface IMsPropertiesHandler
- All Superinterfaces:
IAPIHandler
,Serializable
- All Known Implementing Classes:
MsPropertiesHandler
Common interface for the handler for accessing properties of the master server properties files.
- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the property with the given key in the properties file with the given file name.getByKeyPrefix
(String fileName, String keyPrefix) Gets all the properties that have keys that start with the given prefix from the properties file with the given file name.Gets all the properties that have keys that are contained within the given key set from the properties file with the given file name.Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName
-
Method Details
-
getByKey
Gets the value of the property with the given key in the properties file with the given file name. May benull
.- Parameters:
fileName
- of the properties file.key
- of the property within the properties file.- Returns:
- The property value if it has been set, or
null
otherwise.
-
getByKeys
Gets all the properties that have keys that are contained within the given key set from the properties file with the given file name.- Parameters:
fileName
- of the properties file.keys
- Set of all the property keys.- Returns:
- A map with all properties values. Each property value may be empty if it has not been set.
-
getByKeyPrefix
Gets all the properties that have keys that start with the given prefix from the properties file with the given file name.- Parameters:
fileName
- of the properties file.keyPrefix
- prefix of the property keys.- Returns:
- A map with all matching properties values.
-