Java Temp File Create getTempFiles()

Here you can find the source of getTempFiles()

Description

get Temp Files

License

Open Source License

Declaration

public static Set<File> getTempFiles() 

Method Source Code

//package com.java2s;
/*****************************************************************************
 * This file is part of the Prolog Development Tool (PDT)
 * /*from w w w  .  ja  v  a2  s.  c  o m*/
 * Author: Lukas Degener (among others)
 * WWW: http://sewiki.iai.uni-bonn.de/research/pdt/start
 * Mail: pdt@lists.iai.uni-bonn.de
 * Copyright (C): 2004-2012, CS Dept. III, University of Bonn
 * 
 * All rights reserved. This program is  made available under the terms
 * of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 * 
 ****************************************************************************/

import java.io.File;

import java.util.HashSet;

import java.util.Set;

public class Main {
    private static Set<File> tempFiles = new HashSet<File>();

    public static Set<File> getTempFiles() {
        return new HashSet<File>(tempFiles);
    }
}

Related

  1. getTempFileName()
  2. getTempFileName(String base, String ext)
  3. getTempFileName(String fileExt)
  4. getTempFilePath(String name)
  5. getTempFilePath(String signatureRequestId)
  6. getTempFileWithFullPath()
  7. getUniqueAFileName(String ext)
  8. getUniqueFile(File dir, String prefix, String suffix)
  9. getUniqueFileName()