Java tutorial
//package com.java2s; //License from project: GNU General Public License import java.io.File; public class Main { private static void _dirChecker(File path, String dir) { File f = new File(path, dir); if (!f.isDirectory()) { f.mkdirs(); } } }