Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//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();
    }
}