|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.shell.support.util.IOUtils
public final class IOUtils
Static helper methods relating to I/O. Inspired by the eponymous class in Apache Commons I/O.
| Method Summary | |
|---|---|
static void |
closeQuietly(Closeable... closeables)
Quietly closes each of the given Closeables, i.e. eats any
IOExceptions arising. |
static void |
closeQuietly(ZipFile... zipFiles)
Quietly closes each of the given ZipFiles, i.e. eats any
IOExceptions arising. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void closeQuietly(Closeable... closeables)
Closeables, i.e. eats any
IOExceptions arising.
closeables - the closeables to close (any of which can be
null or already closed)public static void closeQuietly(ZipFile... zipFiles)
ZipFiles, i.e. eats any
IOExceptions arising.
zipFiles - the zipFiles to close (any of which can be
null or already closed)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||