|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Collection of frequently used IO-related objects.
Field Summary | |
static SafeOutputStream |
NULLOUT
An OutputStream which discards all data written to it. |
Field Detail |
public static final SafeOutputStream NULLOUT
write
method of this OutputStream does nothing, as does
the close
and flush
methods. This can be
useful if you are forced to use an OutputStream, but do not
particuarly write the data anywhere. No IOException
will be thrown upon invocation on any methods, including if you
close the stream and then attempt to write to it.OutputStream
,
SafeOutputStream
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |