Here you can find the source of makedir(String containerDir, String name)
Parameter | Description |
---|---|
containerDir | is the parent directory in which to make a new directory |
name | is the name of the directory |
public static boolean makedir(String containerDir, String name)
//package com.java2s; import java.io.File; public class Main { /**// ww w . jav a 2 s . c o m * Create a directory. * @param containerDir is the parent directory in which to make a new directory * @param name is the name of the directory * @return true if successfully completed */ public static boolean makedir(String containerDir, String name) { return (new File(containerDir + "/" + name)).mkdir(); } }