|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hdtourist.utils.FileUtils
public class FileUtils
Clase de utilidades para manejar ficheros y directorios del disco duro.
Constructor Summary | |
---|---|
FileUtils()
|
Method Summary | |
---|---|
private static boolean |
deleteChildren(java.io.File dir)
Elimina el directorio y sus archivos. |
static boolean |
forceDelete(java.lang.String path)
Borra el directorio y todo su contenido. |
static java.lang.String |
getBaseFileName(java.io.File fichero)
Obtiene el nombre del fichero sin la extensión |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileUtils()
Method Detail |
---|
public static boolean forceDelete(java.lang.String path)
path
- the path
public static java.lang.String getBaseFileName(java.io.File fichero)
fichero
- el fichero
private static boolean deleteChildren(java.io.File dir)
dir
- el directorio
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |