Java Temp File Create getTempFile(final File stackFile)

Here you can find the source of getTempFile(final File stackFile)

Description

get Temp File

License

Apache License

Declaration

public static File getTempFile(final File stackFile) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.io.File;

public class Main {
    public static File getTempFile(final File stackFile) {
        return new File("/tmp/" + stackFile.getName() + ".tmp");
    }// w  ww .  j a  v a  2 s .com
}

Related

  1. createTempFile(String oriFileName)
  2. getTempFile()
  3. getTempFile()
  4. getTempFile(File file)
  5. getTempFile(File parent, String fileName)
  6. getTempFile(final String directory, final String suffix, boolean autodelete)
  7. getTempFile(final String name)
  8. getTempFile(String config)
  9. getTempFile(String extension)