文件操作——创建目录文件
/**
*
创建目录文件
*/
public
static
void createPath(String path) {
File
file = new
File(path);
if
(!file.exists()) {
file.mkdir();
}
}
?
/**
*
创建目录文件
*/
public
static
void createPath(String path) {
File
file = new
File(path);
if
(!file.exists()) {
file.mkdir();
}
}
?