Here you can find the source of mkdirs(final String path)
Parameter | Description |
---|---|
path | the path of the directory to create |
public static boolean mkdirs(final String path)
//package com.java2s; //License from project: LGPL import java.io.File; public class Main { /**/*from w w w. ja v a2 s . c om*/ * Creates a directory and parent directories if needed. * * @param path * the path of the directory to create * @return true if the directory was created (possibly with parent * directories) , false otherwise */ public static boolean mkdirs(final String path) { return new File(path).mkdirs(); } }