public StringBuilder ensureCase ( StringBuilder builder , String fieldName , boolean useToken ) { if ( useToken ) { builder . append ( TOKEN ) ; } builder . append ( Constants . ESCAPE_QUOTE ) ; builder . append ( fieldName ) ; builder . append ( Constants . ESCAPE_QUOTE ) ; if ( useToken ) { builder . append ( CLOSE_BRACKET ) ; } return builder ; }
Ensures case for corresponding column name .