private String buildCsvValue ( final Field field , final String fieldValue ) { return ( areTextValuesWrapped && field . getType ( ) . equals ( String . class ) || isValueWrappable . test ( fieldValue ) ) ? wrapWithQuotes ( fieldValue ) : fieldValue ; }
Build correct final export field value in CSV format Check for wrap option for field value