|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gillius.Util.IOUtils
public class IOUtils
IOUtils contains useful IO utility methods.
| Constructor Summary | |
|---|---|
IOUtils()
|
|
| Method Summary | |
|---|---|
static void |
safeClose(java.io.Closeable c)
Closes the given closeable, if it is not null, and ignores any exceptions that it throws. |
static boolean |
safeDelete(java.io.File f)
Deletes the given file, if it is not null. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IOUtils()
| Method Detail |
|---|
public static void safeClose(java.io.Closeable c)
public static boolean safeDelete(java.io.File f)
f - nullable File
File.delete(), or false if f is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||