為什么這里的文件不需要調(diào)用createNewFile()來創(chuàng)建?
if (!file.exists())
try {
file.createNewFile();
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
if (!file.exists())
try {
file.createNewFile();
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
2016-01-06
舉報(bào)
2016-01-06
2016-04-12
流的那張說的很清楚