Microsoft SDK for Java

createDirectories

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

createDirectories(String stgdirpath)
createDirectories(String stgdirpath, int flags)

createDirectories(String stgdirpath)

Ensures that the specified directory path exists. Missing path components are created if they do not exist.

Syntax

public void createDirectories(String stgdirpath) throws IOException;

Parameters

stgdirpath The path of the directory to create.

Exceptions

IOException if the directory already exists or if the directory name already exists as a file.

createDirectories(String stgdirpath, int flags)

Ensures that the specified directory path exists. Missing path components are created if they do not exist.

Syntax

public void createDirectories(String stgdirpath, int flags) throws IOException;

Parameters

stgdirpath The name of the directory to create.
flags A value that indicates the storage area in which to create the components of stgdirpath. It can be either or both of the STORE_FL_LOCAL and STORE_FL_ROAMING flags.

Exceptions

IOException if the directory already exists or the directory name already exists as a file.

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