package nio;
import java.io.IOException;
import java.nio.file.FileStore;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.FileSystems;
import java.nio.file.FileSystem;
import java.io.File;
public class pro {
public static void main(String[] args) {
FileSystem fs = FileSystems.getDefault();
Path path = fs.getPath("index.html");
try{
Files.createFile(Paths.get("hon.txt"));
}catch(IOException e){System.out.println(e);}
}
}
最終更新:2016年05月28日 14:13