com.gisgraphy.helper
Class FileHelper
java.lang.Object
com.gisgraphy.helper.FileHelper
public class FileHelper
- extends Object
Some useful method to manage file
- Author:
- David Masclet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileHelper
public FileHelper()
createTempDir
public static File createTempDir(String path)
- Parameters:
path
- The name of the temporary directory to create. A timestamp will be
added to make a unique directory, so you can use this method
several times with the same path. A common use is to give the
name of the class that needs to create the directory.
- Returns:
- the created directory
- Throws:
RuntimeException
- if we can not write in temporary directory
Copyright © 2012. All Rights Reserved.