[java] Replace all occurrences of a String using StringBuilder?