Microsoft SDK for Java

File.isFile

Determines whether the specified path refers to a file.

Syntax

public static boolean isFile( String path )

Parameters

path

The path to test.

Return Value

Returns true if the path refers to a file; otherwise, returns false.

See Also   exists, isDirectory

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