public static String escapeForJava( char ch )
  {
    String escape = escapeForGosuStringLiteral( ch );
    if( escape == null )
    {
      if( ch <= 31 || ch >= 127 )
      {
        escape = getUnicodeEscape( ch );
      }
    }
    return escape;
  }
public static String escapeForJava ( char ch ) { String escape = escapeForGosuStringLiteral ( ch ) ; if ( escape == null ) { if ( ch <= 31 || ch >= 127 ) { escape = getUnicodeEscape ( ch ) ; } } return escape ; }
Converts an escaped character code into a string literal expressing it, e.g. '\n' becomes "\\n".

@param ch Escaped character code.

@return The string expression of the character code, null if <code>ch</code> is not an escaped character.
Supports Unicode.