Here you can find the source of mkDirs(File path)
public static boolean mkDirs(File path)
//package com.java2s; //License from project: Apache License import java.io.File; public class Main { public static boolean mkDirs(String path) { return mkDirs(new File(path)); }/*from ww w . j a va 2 s .c o m*/ public static boolean mkDirs(File path) { return path.mkdirs(); } }