public class LengthBetween extends ValidationCellProcessor implements StringCellProcessor
validationMessage
next
コンストラクタと説明 |
---|
LengthBetween(int min,
int max) |
LengthBetween(int min,
int max,
CellProcessor next) |
修飾子とタイプ | メソッドと説明 |
---|---|
Object |
execute(Object value,
CsvContext context) |
int |
getMax() |
int |
getMin() |
createValidationException, getDefaultValidationMessage, getValidationMessage, setValidationMessage
toString, validateInputNotNull
public LengthBetween(int min, int max)
public LengthBetween(int min, int max, CellProcessor next)
public Object execute(Object value, CsvContext context)
execute
インタフェース内 CellProcessor
SuperCsvCellProcessorException
- if value is nullSuperCsvConstraintViolationException
- if length is < min or length > maxpublic int getMin()
public int getMax()
Copyright © 2022 mygreen. All rights reserved.