Determines whether this stream supports reading.
public boolean canRead()
Returns true if the stream supports reading; otherwise, returns false.
IOException thrown if an I/O error occurs or if the stream does not support reading.
If a stream does not support reading, calls to the read method always raise exceptions.
See Also read