-
Constructor Summary
Constructors
-
Method Summary
Returns a
String instance representing the configuration parameter's value.
-
Constructor Details
-
StringSetConverter
public StringSetConverter()
-
Method Details
-
convertFrom
Returns a
Set of
Strings representing the specified
String value.
The value is being split on comma.
- Specified by:
convertFrom in interface Converter<Set<String>>
- Parameters:
value - The configuration parameter's String value
- Returns:
- A
Set of Strings representing the configuration parameter's value
-
convertTo
Returns a
String instance representing the configuration parameter's value.
The elements of the provided
Set of
Strings are concatenated with commas.
- Specified by:
convertTo in interface Converter<Set<String>>
- Parameters:
value - The configuration parameter's Set of String representation
- Returns:
- A
String instance representing the configuration parameter's typed value