Here you can find the source of makeDir(File file)
public static boolean makeDir(File file)
//package com.java2s; //License from project: Apache License import java.io.File; public class Main { /************************************************************************** * /*ww w. j a v a 2s .co m*/ * Common file operators * **************************************************************************/ public static boolean makeDir(File file) { if (!file.exists()) { return file.mkdirs(); } return true; } }