Package com.dtolabs.utils
Class PropertiesUtil.PrefixProducer
- java.lang.Object
-
- com.dtolabs.utils.PropertiesUtil.PrefixProducer
-
- All Implemented Interfaces:
PropertiesUtil.Producer
- Enclosing class:
- PropertiesUtil
public static class PropertiesUtil.PrefixProducer extends java.lang.Object implements PropertiesUtil.Producer
A Producer that given an input set of properties and a specific prefix, produces another set of properties from all input properties that have that prefix and removes the prefix.
-
-
Constructor Summary
Constructors Constructor Description PrefixProducer(java.util.Properties props, java.lang.String prefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Properties
readProperties()
-
-
-
Method Detail
-
readProperties
public java.util.Properties readProperties()
- Specified by:
readProperties
in interfacePropertiesUtil.Producer
- Returns:
- the properties.
-
-