Microsoft SDK for Java

File.getHandle

Retrieves the file handle associated with this File object.

Syntax

public int getHandle()

Return Value

Returns the file handle for this File object.

Remarks

The return value is -1 if the file has been closed.

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