Here you can find the source of mkDirs(String path)
Parameter | Description |
---|---|
path | a parameter |
Parameter | Description |
---|---|
Exception | an exception |
public static void mkDirs(String path) throws Exception
//package com.java2s; //License from project: Apache License import java.io.File; public class Main { /**/*from ww w . j av a 2 s. co m*/ * Create dirs * * @param path * @throws Exception */ public static void mkDirs(String path) throws Exception { (new File(path)).mkdirs(); } }