IByteStream.canWrite

Overview | Methods | This Package | All Packages

IByteStream.canWrite

Determines whether this stream supports writing.

Syntax

public boolean canWrite()

Return Value

Returns true if the stream supports writing; otherwise, returns false.

Exceptions

IOException thrown if an I/O error occurs or if the stream does not support writing.

Remarks

If a stream does not support writing, calls to the write method always raise exceptions.

See Also   write