Microsoft SDK for Java

isDirectory

The isDirectory method of the ClientStore Class contains the following signatures:

isDirectory(String stgfilename)
isDirectory(String stgfilename, int flags)

isDirectory(String stgfilename)

Determines whether the specified file is a directory.

Syntax

public boolean isDirectory(String stgfilename) throws IOException;

Return Value

Returns true if the file is a directory; otherwise, returns false.

Parameters

stgfilename The name of the file.

Exceptions

IOException if the file name is not valid or if the file cannot be found.

isDirectory(String stgfilename, int flags)

Determines whether the specified file is a directory.

Syntax

public boolean isDirectory(String stgfilename, int flags) throws IOException;

Return Value

Returns true if the file is a directory; otherwise, returns false.

Parameters

stgfilename The name of the file.
flags A value that indicates the storage area in which to search for stgfilename. It can be one or both of the STORE_FL_LOCAL and STORE_FL_ROAMING flags.

Exceptions

IOException if the file name is not valid or if the file cannot be found.

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