Java mkdir makeDirs(String strBottomFoldName, String strFoldName)

Here you can find the source of makeDirs(String strBottomFoldName, String strFoldName)

Description

make Dirs

License

Open Source License

Declaration

private static boolean makeDirs(String strBottomFoldName, String strFoldName) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.io.File;

public class Main {
    private static boolean makeDirs(String strBottomFoldName, String strFoldName) {
        boolean blnResult = true;
        File newFold = new File(strBottomFoldName, strFoldName);
        if (!newFold.exists() && !newFold.mkdirs()) {
            blnResult = false;// w w w .  j  a va  2  s . c  o m
        }
        return blnResult;
    }
}

Related

  1. makeDirs(String dir)
  2. makeDirs(String fileName)
  3. makedirs(String fileName)
  4. makeDirs(String fileName, boolean hasFile)
  5. makeDirs(String filePath)
  6. makeDIRS(String[] dirs, File path)
  7. makeDirsFor(File file)
  8. makeDirsWhenNotExist(String filePath)