Microsoft SDK for Java

isExpendable

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

isExpendable(String stgfilename)
isExpendable(String stgfilename, int flags)

isExpendable(String stgfilename)

Determines whether the specified file can be deleted when the client storage becomes full.

Syntax

public boolean isExpendable(String stgfilename) throws IOException;

Return Value

Returns true if the file was opened with the OPEN_FL_EXPENDABLE flag.

Parameters

stgfilename The name of the file to check.

Exceptions

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

See Also

OPEN_FL_EXPENDABLE, markFileAsExpendable, purgeExpendableFiles

isExpendable(String stgfilename, int flags)

Determines whether the specified file can be deleted when the client storage becomes full.

Syntax

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

Return Value

Returns true if the file was opened with the OPEN_FL_EXPENDABLE flag.

Parameters

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

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.