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