public class Trim extends CellProcessorAdaptor implements BoolCellProcessor, DateCellProcessor, DoubleCellProcessor, LongCellProcessor, StringCellProcessor
 Prior to 2.0.0, this processor truncated Strings - this functionality can now be found in the Truncate
 processor.
next| Constructor and Description | 
|---|
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | execute(Object value,
       CsvContext context)This method is invoked by the framework when the processor needs to process data or check constraints. | 
toString, validateInputNotNullpublic Trim()
public Trim(StringCellProcessor next)
next - the next processor in the chainNullPointerException - if next is nullpublic Object execute(Object value, CsvContext context)
execute in interface CellProcessorSuperCsvCellProcessorException - if value is nullCopyright © 2007-2013 Super CSV. All Rights Reserved.