Package de.galan.commons.io.file
Class FileSupport
java.lang.Object
de.galan.commons.io.file.FileSupport
Supportive file operations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeleteFile(File file) Deletes a File.static booleandeleteFileQuiet(File file) Deletes a File.static voidstatic void
-
Constructor Details
-
FileSupport
public FileSupport()
-
-
Method Details
-
deleteFile
Deletes a File. If it is a directory it will be performed recursivly.- Throws:
IOException
-
deleteFileQuiet
Deletes a File. If it is a directory it will be performed recursivly. Exceptions will be swallowed, only a logmessage will be printed.- Returns:
- true if successfull
-
touch
- Throws:
IOException
-
touch
- Throws:
IOException
-