Java mkdir makedir(String containerDir, String name)

Here you can find the source of makedir(String containerDir, String name)

Description

Create a directory.

License

Open Source License

Parameter

Parameter Description
containerDir is the parent directory in which to make a new directory
name is the name of the directory

Return

true if successfully completed

Declaration

public static boolean makedir(String containerDir, String name) 

Method Source Code

//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();
    }
}

Related

  1. makeDir(File f)
  2. makeDir(File file)
  3. makeDir(File file)
  4. makeDir(File parentDir, String dirName)
  5. makeDir(File parentFile)
  6. makeDir(String dir)
  7. makeDir(String dir)
  8. makeDir(String dir)
  9. makeDir(String dir)