@Test public void testInputSurroundingSpace() { String input = " abc "; String expected = "abc"; assertEquals(expected, processor.execute(input, ANONYMOUS_CSVCONTEXT)); assertEquals(expected, processorChain.execute(input, ANONYMOUS_CSVCONTEXT)); }
public Object execute(final Object value, final CsvContext context) { validateInputNotNull(value, context); final String result = value.toString().trim(); return next.execute(result, context); }
Trim extends CellProcessorAdaptor implements BoolCellProcessor, DateCellProcessor, DoubleCellProcessor,
	LongCellProcessor, StringCellProcessor { public Object execute(final Object value, final CsvContext context) { validateInputNotNull(value, context); final String result = value.toString().trim(); return next.execute(result, context); } }
Trim extends CellProcessorAdaptor implements BoolCellProcessor, DateCellProcessor, DoubleCellProcessor,
	LongCellProcessor, StringCellProcessor { public Object execute(final Object value, final CsvContext context) { validateInputNotNull(value, context); final String result = value.toString().trim(); return next.execute(result, context); } Trim();  Trim(final StringCellProcessor next); }
Trim extends CellProcessorAdaptor implements BoolCellProcessor, DateCellProcessor, DoubleCellProcessor,
	LongCellProcessor, StringCellProcessor { public Object execute(final Object value, final CsvContext context) { validateInputNotNull(value, context); final String result = value.toString().trim(); return next.execute(result, context); } Trim();  Trim(final StringCellProcessor next); Object execute(final Object value, final CsvContext context); }
Trim extends CellProcessorAdaptor implements BoolCellProcessor, DateCellProcessor, DoubleCellProcessor,
	LongCellProcessor, StringCellProcessor { public Object execute(final Object value, final CsvContext context) { validateInputNotNull(value, context); final String result = value.toString().trim(); return next.execute(result, context); } Trim();  Trim(final StringCellProcessor next); Object execute(final Object value, final CsvContext context);  }