Microsoft SDK for Java

createDirectory

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

createDirectory(String stgdirname)
createDirectory(String stgdirname, int flags)

createDirectory(String stgdirname)

Creates a new directory.

Syntax

public void createDirectory(String stgdirname) throws IOException;

Parameters

stgdirname The name of the directory to create.

Exceptions

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

createDirectory(String stgdirname, int flags)

Creates a new directory.

Syntax

public void createDirectory(String stgdirname, int flags) throws IOException;

Parameters

stgdirname The name of the directory to create.
flags A value that indicates the storage area in which to create stgdirname. 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.