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 {
    /** 
     * Create the directory for Zip file if necessary
     */
    private static void createDestDirectoryIfNecessary(String destParam) {
        File destDir = null;
        destDir = new File(destParam);
        if (!destDir.exists()) {
            destDir.mkdirs();
        }
    }
}