Class StringToSortDirectionConverter
- java.lang.Object
-
- africa.absa.inception.core.converters.StringToSortDirectionConverter
-
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,SortDirection>
@Component public class StringToSortDirectionConverter extends Object implements org.springframework.core.convert.converter.Converter<String,SortDirection>
The StringToSortDirectionConverter class implements the Spring converter that converts a String type into a SortDirection type.- Author:
- Marcus Portmann
-
-
Constructor Summary
Constructors Constructor Description StringToSortDirectionConverter()Constructs a new StringToSortDirectionConverter.
-
-
-
Method Detail
-
convert
public SortDirection convert(String source)
- Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<String,SortDirection>
-
-