Java Temp Folder Create getTempPath()

Here you can find the source of getTempPath()

Description

Returns the temporary directory path.

License

Open Source License

Return

path

Declaration

public static String getTempPath() 

Method Source Code

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

public class Main {
    /**//from w w w . ja v a 2s  .  c  o  m
     * Returns the temporary directory path.
     * 
     * @return path
     */
    public static String getTempPath() {
        return System.getProperty("java.io.tmpdir");
    }
}

Related

  1. getTempFolder()
  2. getTempFolder()
  3. getTempFolder(String TEMP_FOLDER_NAME)
  4. getTempFolderPath()
  5. getTempFolderPath()
  6. getTempPath()
  7. getTempPath()
  8. getTempPath()
  9. GetTempPath()