|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.x4juli.global.helper.IOUtil
Utility class for IO Operations. Currently for null safe close without exceptions.
| Constructor Summary | |
private |
IOUtil()
No instantiation wanted. |
| Method Summary | |
static void |
closeInputStream(java.io.InputStream stream)
Null safe close, does not throw any exception. |
static void |
closeOutputStream(java.io.OutputStream stream)
Null safe close, does not throw any exception. |
static void |
closeReader(java.io.Reader reader)
Null safe close, does not throw any exception. |
static void |
closeSocket(java.net.Socket socket)
Null safe close, does not throw any exception. |
static void |
closeWriter(java.io.Writer writer)
Null safe close, does not throw any exception. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
private IOUtil()
| Method Detail |
public static void closeInputStream(java.io.InputStream stream)
stream - to close.public static void closeOutputStream(java.io.OutputStream stream)
stream - to close.public static void closeWriter(java.io.Writer writer)
writer - to close.public static void closeReader(java.io.Reader reader)
reader - to close.public static void closeSocket(java.net.Socket socket)
socket - to close.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||