net.sourceforge.atunes.kernel.utils
Class TempFolder

java.lang.Object
  extended by net.sourceforge.atunes.kernel.utils.TempFolder

public class TempFolder
extends java.lang.Object

The Class TempFolder.


Constructor Summary
TempFolder()
           
 
Method Summary
static java.io.File copyToTempFolder(java.io.File srcFile)
          Copies a file to temp folder.
static void removeAllFiles()
          Removes all files from temp folder.
static boolean removeFile(java.io.File tempFile)
          Removes a file from temp folder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TempFolder

public TempFolder()
Method Detail

copyToTempFolder

public static java.io.File copyToTempFolder(java.io.File srcFile)
Copies a file to temp folder.

Parameters:
srcFile - the src file
Returns:
File object to copied file in temp folder

removeFile

public static boolean removeFile(java.io.File tempFile)
Removes a file from temp folder.

Parameters:
tempFile - the temp file
Returns:
true, if removes the file

removeAllFiles

public static void removeAllFiles()
Removes all files from temp folder.



Copyright © 2006-2008 The aTunes Team. All Rights Reserved.