Here you can find the source of mkdirs(final File outdir, final String path)
Parameter | Description |
---|---|
outdir | Existing directory |
path | Additional path |
public static void mkdirs(final File outdir, final String path)
//package com.java2s; //License from project: Apache License import java.io.File; public class Main { /**/* w w w.java 2s .c o m*/ * Creates directories from an existing file to an additional path. * @param outdir Existing directory * @param path Additional path */ public static void mkdirs(final File outdir, final String path) { File d = new File(outdir, path); if (!d.exists()) { d.mkdirs(); } } }