Microsoft SDK for Java

ClientStoreFile Class Constructors

The ClientStoreFile Class contains the following constructors:

ClientStoreFile(String stgfilename)
ClientStoreFile(ClientStore store, String stgfilename)
ClientStoreFile(String stgfilename, int flags)
ClientStoreFile(ClientStore store, String stgfilename, int flags)

ClientStoreFile(String stgfilename)

Creates a ClientStoreFile object from the specified file name.

Syntax

public ClientStoreFile(String stgfilename) throws IOException;

Return Value

Returns the ClientStoreFile object that represents the specified file.

Parameters

stgfilename The name of the file.

Exceptions

IOException if there is an I/O error.

ClientStoreFile(ClientStore store, String stgfilename)

Creates a ClientStoreFile object from the file name and the ClientStore object that the file is located in.

Syntax

public ClientStoreFile(ClientStore store, String stgfilename) throws IOException;

Return Value

Returns the ClientStoreFile object representing the file that is located in the client store.

Parameters

store The client store that contains the specified file.
stgfilename The name of the file.

Exceptions

IOException if there is an I/O error.

ClientStoreFile(String stgfilename, int flags)

Creates a ClientStoreFile object from the file name and any specified file flags.

Syntax

public ClientStoreFile(String stgfilename, int flags) throws IOException;

Return Value

Returns the ClientStoreFile object representing the file that is located in the client store.

Parameters

stgfilename The name of the file.
flags The flags that can be used with any of the file operations in this class. They can be any combination of the following:

OPEN_FL_SHARED
STORE_FL_ROAMING
OPEN_FL_APPEND
OPEN_FL_EXPENDABLE
OPEN_FL_WRITABLE
STORE_FL_LOCAL


Exceptions

IOException if there is an I/O error.

ClientStoreFile(ClientStore store, String stgfilename, int flags)

Creates a ClientStoreFile object from the file name, the ClientStore object that the file is located in, and any specified file flags.

Syntax

public ClientStoreFile(ClientStore store, String stgfilename, int flags) throws IOException;

Return Value

Returns the ClientStoreFile object representing the file that is located in the client store.

Parameters

store The client store that contains the specified file.
stgfilename The name of the file.
flags The flags that can be used with any of the file operations in this class. They can be any combination of the following:

OPEN_FL_SHARED
STORE_FL_ROAMING
OPEN_FL_APPEND
OPEN_FL_EXPENDABLE
OPEN_FL_WRITABLE
STORE_FL_LOCAL


Exceptions

IOException if there is an I/O error.

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