|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object OutputStreamX
public final class OutputStreamX
OutputStream utilities.
Method Summary | |
---|---|
static void |
runClose(OutputStream out)
Same as out.close(), but throws only runtime exceptions. |
static IOException |
tryClose(OutputStream out)
Same as out.close(), but throws no exceptions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void runClose(OutputStream out)
RuntimeException
- if IOException occurspublic static IOException tryClose(OutputStream out)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |