Microsoft SDK for Java

list

The list method of the ClientStoreFile Class contains the following signatures:

list()
list(FilenameFilter filter)

list()

Returns a list of the files in the directory specified by the ClientStoreFile object.

Syntax

public String[] list();

Return Value

Returns an array that contains the names of files in the specified directory. This list does not include the current directory or the parent directory ("." and ".." on Unix systems).

list(FilenameFilter filter)

Retrieves a list of files that satisfy the specified filter and are located in the directory specified by the ClientStoreFile object. The filter parameter, which is an instance of a class that implements the java.io.FilenameFilter interface, indicates the properties that the file must have to be included in the returned list of files.

Syntax

public String[] list(FilenameFilter filter);

Return Value

Returns an array that contains the names of files in the specified directory. This list does not include the current directory or the parent directory ("." and ".." on Unix systems).

Parameters

filter A file name filter.

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