Class PropertiesUtil
java.lang.Object
org.frankframework.util.PropertiesUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertiesgetSubProperties(Properties properties, String keyBase) Get a newPropertiesinstance that contains a subset of the properties in the original instance, filtered by the keyBase prefix, and with that prefix removed.static PropertiespropertiesOf(String... keyValuePairs)
-
Constructor Details
-
PropertiesUtil
public PropertiesUtil()
-
-
Method Details
-
propertiesOf
-
getSubProperties
Get a newPropertiesinstance that contains a subset of the properties in the original instance, filtered by the keyBase prefix, and with that prefix removed.- Parameters:
properties- OriginalPropertiesto filterkeyBase- Base property name on which to filter. Should end with a.and if it doesn't, a.is appended.- Returns:
- New
Propertiesinstance with only the filtered properties, thekeyBaseprefix removed.
-