Class NullOutputStream
Stream
implementation acting as a sink with no function.
Any data written to the stream will be ignored and discarded. This stream type is useful if the output of a particular stream is not needed but the stream needs to be drained.
Inherits from
-
(base class)Object
-
OutputStream
Methods
Name | Description |
---|---|
finalize
|
Flushes and finalizes the stream. |
flush
|
Flushes the stream and makes sure that all data is being written to the output device. |
write
|
Writes an array of bytes to the stream.
|
write
|
Pipes an InputStream directly into this OutputStream .
|
put
|
These methods provide an output range interface. |
write
|
Writes an array of chars to the stream. |
writeDefault
|
Authors
Sönke Ludwig
Copyright
© 2012-2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.