|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Closeable s, i.e. eats any
IOException s arising. |
static void |
closeQuietly(ZipFile... zipFiles)
Quietly closes each of the given ZipFile s, i.e. eats any
IOException s 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)
Closeable
s, i.e. eats any
IOException
s arising.
closeables
- the closeables to close (any of which can be
null
or already closed)public static void closeQuietly(ZipFile... zipFiles)
ZipFile
s, i.e. eats any
IOException
s 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 |