Introduction
Here is the source code for Main.java
Source
//package com.java2s;
//License from project: Apache License
import java.io.File;
public class Main {
public static String createNewFile(String path) {
File dir = new File(path);
if (!dir.exists()) {
dir.mkdirs();
}
return path;
}
}