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