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.createDirectory(Paths.get("book"));
Files.createDirectory(Paths.get("book", "s2"));
}catch(IOException e){System.out.println(e);}
}
}
最終更新:2016年05月28日 14:17