Microsoft SDK for Java

File.getPosition

Retrieves the current position of this file.

Syntax

public long getPosition()

Return Value

Returns the current position of the file.

Exceptions

WinIOException thrown if either an I/O error occurs or if the file does not allow positioning.

Overrides   DataStream.getPosition

See Also   IByteStream.getPosition, setPosition

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