public class NullConvert extends CellProcessorAdaptor implements StringCellProcessor
nullに変換した後も処理を続行する。
next| コンストラクタと説明 |
|---|
NullConvert(Collection<String> tokens,
boolean ignoreCase) |
NullConvert(Collection<String> tokens,
boolean ignoreCase,
StringCellProcessor next) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
<T> T |
execute(Object value,
CsvContext context) |
Set<String> |
getTokens()
比較対象の値
|
boolean |
isIgnoreCase()
大文字・小文字の区別を行うかどうか。
|
toString, validateInputNotNullpublic NullConvert(Collection<String> tokens, boolean ignoreCase)
tokens - 比較対象の値ignoreCase - 大文字・小文字の区別を行うかどうか。NullPointerException - tokens is null.IllegalArgumentException - tokens size is zero.public NullConvert(Collection<String> tokens, boolean ignoreCase, StringCellProcessor next)
tokens - 比較対象の値ignoreCase - 大文字・小文字の区別を行うかどうかnext - チェインとして次に実行されるCellProcessorNullPointerException - tokens is null.IllegalArgumentException - tokens size is zero.public <T> T execute(Object value, CsvContext context)
execute インタフェース内 CellProcessorpublic boolean isIgnoreCase()
Copyright © 2025 mygreen. All rights reserved.