public class LengthExact extends ValidationCellProcessor implements StringCellProcessor
validationMessagenext| コンストラクタと説明 |
|---|
LengthExact(Collection<Integer> requriedLengths) |
LengthExact(Collection<Integer> requriedLengths,
CellProcessor next) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Object |
execute(Object value,
CsvContext context) |
int[] |
getRequiredLengths()
比較対象の文字長の候補を取得する。
|
createValidationException, getDefaultValidationMessage, getValidationMessage, setValidationMessagetoString, validateInputNotNullpublic LengthExact(Collection<Integer> requriedLengths)
public LengthExact(Collection<Integer> requriedLengths, CellProcessor next)
public Object execute(Object value, CsvContext context)
execute インタフェース内 CellProcessorSuperCsvCellProcessorException - if value is nullSuperCsvConstraintViolationException - if length is < min or length > maxpublic int[] getRequiredLengths()
Copyright © 2025 mygreen. All rights reserved.