static String quote ( char c ) { StringBuilder b = new StringBuilder ( ) ; b . append ( ' ' ) ; if ( c == ' ' ) b . append ( ' ' ) . append ( ' ' ) ; else if ( c == ' ' ) b . append ( ' ' ) . append ( ' ' ) ; else if ( c == ' ' ) b . append ( ' ' ) . append ( ' ' ) ; else if ( c == ' ' ) b . append ( ' ' ) . append ( ' ' ) ; else b . append ( c ) ; b . append ( ' ' ) ; return b . toString ( ) ; }
Single quote and escape a character