Java Temp Directory Create makeTemporaryDirectory(String dir)

Here you can find the source of makeTemporaryDirectory(String dir)

Description

make Temporary Directory

License

Open Source License

Declaration

public static void makeTemporaryDirectory(String dir) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.io.File;

public class Main {
    public static void makeTemporaryDirectory(String dir) {
        new File(dir).mkdirs();
    }/* w w  w  . ja  v  a 2 s  .  c  om*/
}

Related

  1. makeTempDir(String prefix, String suffix)
  2. makeTempDirectory(String dirName, boolean deleteIfExists)
  3. makeTempDirectory(String prefix, String suffix)
  4. makeTemporaryDirectory()
  5. makeTemporaryDirectory(File baseDir, String prefix)