Overview | Methods | This Package | All Packages
Determines whether this stream supports reading.
Syntax
public boolean canRead()
Return Value
Returns true if the stream supports reading; otherwise, returns false.
Exceptions
IOException thrown if an I/O error occurs or if the stream does not support reading.
Remarks
This method implements the IByteStream.canRead method. The default method always returns true, but a subclass can override this method to provide the appropriate functionality.
See Also read