/super-csv/src/main/java/org/supercsv/cellprocessor/FmtBool.java
validateInputNotNull( context) ;
validateInputNotNull ( value, context ) ;
public FmtBool(final String trueValue, final String falseValue, final StringCellProcessor next) { super(next); this.trueValue = trueValue; this.falseValue = falseValue; } public Object execute(final Object value, final CsvContext context) { <extra_id_0> if( !(value instanceof Boolean) ) { throw new SuperCsvCellProcessorException(Boolean.class, value, context, this); } final String result = ((Boolean) value).booleanValue() ? trueValue : falseValue; return next.execute(result, context); }