Introduction
Here is the source code for Main.java
Source
//package com.java2s;
import java.io.File;
public class Main {
private static File createDirectory(String path) {
File f = new File(path);
if (!f.exists()) {
if (!f.mkdirs()) {
return null;
}
}
return f;
}
}