import java.util.Iterator;
import java.util.StringTokenizer;
+import net.sourceforge.phpdt.internal.ui.util.StringUtil;
+
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IFolder;
String insert = (String)inserts.get(i);
String replace = (String)names.get(i);
- buffer = buffer.replaceAll(insert, replace.toLowerCase());
+ buffer = StringUtil.replaceAll(buffer, insert, replace.toLowerCase());
try {
ps = new PipedOutputStream();
is = new PipedInputStream(ps);