public String escape(String string){
  int length=string.length();
  for (int index=0; index < length; index++) {
    if (escape(string.charAt(index)) != null) {
      return escapeSlow(string,index);
    }
  }
  return string;
}

public String escape ( String string ) { int length = string . length ( ) ; for ( int index = 0 ; index < length ; index ++ ) { if ( escape ( string . charAt ( index ) ) != null ) { return escapeSlow ( string , index ) ; } } return string ; }
returns the escaped form of a given literal string .
