Returns a new
Reader
that reads no characters. The returned stream is initially open. The stream is closed by calling the
close()
method. Subsequent calls to
close()
have no effect.
While the stream is open, the read()
, read(char[])
, read(char[], int, int)
, read(CharBuffer)
, ready()
, skip(long)
, and transferTo()
methods all behave as if end of stream has been reached. After the stream has been closed, these methods all throw IOException
.
The markSupported()
method returns false
. The mark()
and reset()
methods throw an IOException
.
The object
used to synchronize operations on the returned Reader
is not specified.