public class Trim extends CellProcessorAdaptor implements StringCellProcessor
値がNullの時も処理を続行する
next
コンストラクタと説明 |
---|
Trim()
Constructs a new Trim processor, which trims a String to ensure it has no surrounding whitespace.
|
Trim(StringCellProcessor next)
Constructs a new Trim processor, which trims a String to ensure it has no surrounding whitespace then
calls the next processor in the chain.
|
修飾子とタイプ | メソッドと説明 |
---|---|
Object |
execute(Object value,
CsvContext context) |
toString, validateInputNotNull
public Trim()
public Trim(StringCellProcessor next)
next
- the next processor in the chainNullPointerException
- if next is nullpublic Object execute(Object value, CsvContext context)
execute
インタフェース内 CellProcessor
Copyright © 2022 mygreen. All rights reserved.