Here you can find the source of createDir(Path p)
private static void createDir(Path p)
//package com.java2s; //License from project: LGPL import java.io.File; import java.nio.file.Path; public class Main { private static void createDir(Path p) { File file = p.toFile();//from w w w. j a v a2 s . c o m file.mkdir(); } }