The listFiles method of the ClientStore Class contains the following signatures:
listFiles(String stgdir)
listFiles(String stgdir, FilenameFilter filter)
listFiles(String stgdir, int flags)
listFiles(String stgdir, FilenameFilter filter, int flags)
Lists files in the specified directory.
public String[] listFiles(String stgdir) throws IOException;
Returns the names of the files in the specified directory.
stgdir | The directory to list files in. If null, the current directory is used. |
IOException if the specified directory is not valid.
Lists files in the specified directory.
public String[] listFiles(String stgdir, FilenameFilter filter) throws IOException;
stgdir | The directory to list files in. If null, the current directory is used. |
filter | The filter that determines which files to list. File patterns, such as "*.txt", can be specified by using the com.ms.util.WildcardExpression class. |
IOException if the specified directory is not valid.
Lists files in the specified directory.
public String[] listFiles(String stgdir, int flags) throws IOException;
Returns a String list of the files in the directory.
stgdir | The directory to list files in. If null, the current directory is used. |
flags | The listing modifiers for this method. This value should be one or both of LIST_FL_RECURSE and LIST_FL_NO_DIRECTORIES to control the listing behavior, and one or both of STORE_FL_LOCAL and STORE_FL_ROAMING to select the storage area to list files in. |
IOException if the specified directory is invalid.
Lists files in the specified directory.
public String[] listFiles(String stgdir, FilenameFilter filter, int flags) throws IOException;
Returns a String list of the files in the directory.
stgdir | The directory to list files in. If null, the current directory is used. |
filter | The filter that determines which files to list. File patterns, such as "*.txt," can be specified by using the com.ms.util.WildcardExpression class. |
flags | The listing modifiers for this method. This value should be one or both of LIST_FL_RECURSE and LIST_FL_NO_DIRECTORIES to control the listing behavior, and one or both of STORE_FL_LOCAL and STORE_FL_ROAMING to select the storage area to list files in. |
IOException if the directory is invalid.