Microsoft SDK for Java

DataStream.setPosition

Sets the position of this stream.

Syntax

public void setPosition( long position )

Parameters

position

The new position of the stream.

Remarks

This method implements the IByteStream.setPosition method. The default implementation throws an IOException, but a subclass can override this method to provide the appropriate functionality.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.