Class OrderListConverter

java.lang.Object
tech.corefinance.common.converter.OrderListConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,List<org.springframework.data.domain.Sort.Order>>, org.springframework.format.Formatter<List<org.springframework.data.domain.Sort.Order>>, org.springframework.format.Parser<List<org.springframework.data.domain.Sort.Order>>, org.springframework.format.Printer<List<org.springframework.data.domain.Sort.Order>>

@Component public class OrderListConverter extends Object implements org.springframework.core.convert.converter.Converter<String,List<org.springframework.data.domain.Sort.Order>>, org.springframework.format.Formatter<List<org.springframework.data.domain.Sort.Order>>
  • Constructor Details

    • OrderListConverter

      public OrderListConverter()
  • Method Details

    • convert

      public List<org.springframework.data.domain.Sort.Order> convert(String value)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<String,List<org.springframework.data.domain.Sort.Order>>
    • print

      public String print(List<org.springframework.data.domain.Sort.Order> object, Locale locale)
      Specified by:
      print in interface org.springframework.format.Printer<List<org.springframework.data.domain.Sort.Order>>
    • parse

      public List<org.springframework.data.domain.Sort.Order> parse(String text, Locale locale) throws ParseException
      Specified by:
      parse in interface org.springframework.format.Parser<List<org.springframework.data.domain.Sort.Order>>
      Throws:
      ParseException