DataStream.canSeek

Overview | Methods | This Package | All Packages

DataStream.canSeek

Determines whether this stream supports seeking.

Syntax

public boolean canSeek()

Return Value

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

Exceptions

IOException thrown if an I/O error occurs.

Remarks

This method implements the IByteStream.canSeek method. This default method always returns true, but a subclass can override this method to provide the appropriate functionality.

See Also   write