question: public static String escape ( String s ) { if ( s == null ) return null ; StringBuffer sb = new StringBuffer ( ) ; escape ( s , sb ) ; return sb . toString ( ) ; }
target:  Escape quotes, \, /, \r, \n, \b, \f, \t and other control characters (U+0000 through U+001F).