Java tutorial
//package com.java2s; import java.io.File; public class Main { /** * Creates the directory named by this file, creating missing parent * directories if necessary. * * @param tree * The directory name by this file */ public static void createTree(File tree) { tree.mkdirs(); } }