Android Directory Create createDir(String path, String folder)

Here you can find the source of createDir(String path, String folder)

Description

create Dir

Declaration

private static void createDir(String path, String folder) 

Method Source Code

//package com.java2s;

import java.io.File;

public class Main {
    private static void createDir(String path, String folder) {
        File f = new File(path + folder);
        if (!f.isDirectory()) {
            f.mkdirs();/* w ww .  j a  va  2 s. co  m*/
        }
    }
}

Related

  1. mkdir(String filePath)
  2. mkdir(String path)
  3. mkdir(String s)
  4. mkdirs(String pathName)
  5. mkdirs(String pathName)
  6. createDirectory(String directory, String subDirectory)