67,513
社区成员
发帖
与我相关
我的任务
分享
public static void main(String[] args) throws Exception{
BufferedReader in=new BufferedReader(new FileReader("f:\\test.txt"));
String str="";
while((str=in.readLine())!=null)
System.out.println(str.replaceAll("\\\\","@"));
in.close();
}
D:\apache-tomcat-5.5.25\wtpwebapps\myjsp\upload\11。
String str="D:\\apache-tomcat-5.5.25\\wtpwebapps\\myjsp\\upload\\11";
System.out.println(str.replaceAll("\\\\","@"));