Java mkdir makeDirectories(String path)

Here you can find the source of makeDirectories(String path)

Description

make Directories

License

Open Source License

Declaration

public static String makeDirectories(String path) 

Method Source Code

//package com.java2s;
import java.io.File;

import java.io.IOException;

public class Main {
    public static String makeDirectories(String path) {

        try {//from   www  .  j a v  a  2  s.c  o  m
            File file = new File(path);

            file.mkdirs();

            return file.getCanonicalPath();
        } catch (IOException e) {
            return null;
        }
    }
}

Related

  1. makeDirDirs(String dir)
  2. makeDirectories(final File file)
  3. makeDirectories(final String location)
  4. makeDirectories(JarFile jar, String eviwareDir)
  5. makeDirectories(String path)
  6. makeDirectory(File dir)
  7. makeDirectory(File directory)
  8. makeDirectory(File file)
  9. makeDirectory(File file)