如何把字符串中半角的冒号替换为全角的冒号

怎么把字符串中半角的冒号替换为全角的冒号
是使用string.replace()还是string.replaceAll();?

字符编码是utf-8````
试了好久都不行```
------解决思路----------------------
试试 public String replace(char oldChar, char newChar) 
------解决思路----------------------
String s = "1234:";
System.out.println(s.replaceAll(":", ":"));