Class TrimmedStringSortedSetConverter
java.lang.Object
com.github.joschi.jadconfig.converters.StringSortedSetConverter
com.github.joschi.jadconfig.converters.TrimmedStringSortedSetConverter
Class for converting a comma-separated list to a
SortedSet<String> of trimmed strings.- Author:
- jschalanda
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.joschi.jadconfig.converters.StringSortedSetConverter
convertTo
-
Constructor Details
-
TrimmedStringSortedSetConverter
public TrimmedStringSortedSetConverter()
-
-
Method Details
-
convertFrom
Returns aSortedSetofStrings representing the specifiedStringvalue. The value is being split on comma.- Specified by:
convertFromin interfaceConverter<SortedSet<String>>- Overrides:
convertFromin classStringSortedSetConverter- Parameters:
value- The configuration parameter'sStringvalue- Returns:
- A
SortedSetofStrings representing the configuration parameter's value
-