Opencsv: Allow for a more customized error message when using @PreAssignmentValidator

前端 未结 0 711
孤独总比滥情好
孤独总比滥情好 2021-02-20 05:22

Given this bean:

@Data
public class Contact {
    @PreAssignmentValidator(validator = MustMatchRegexExpression.class, paramString = "^[A-Za-z]{3,8}$")
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题