Android Directory Temp Create mainTempDir()

Here you can find the source of mainTempDir()

Description

main Temp Dir

License

Open Source License

Declaration

static File mainTempDir() 

Method Source Code

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

import java.io.File;

public class Main {
    static File mainTempDir() {
        File dir = new File(tempDir());
        dir.mkdirs();/*from  w w w.  j a v  a2s.c om*/
        return dir;
    }

    private static String tempDir() {
        return System.getProperty("java.io.tmpdir") + "/doodleDebug";
    }
}

Related

  1. createTempDir()
  2. createTempDir(String dirname)
  3. createTempDir(final String prefix, final String suffix)
  4. createTempDirectory()
  5. mktempdir()
  6. mktempdir(String filePrefix)
  7. setupTempDir()
  8. tempDir()