The isDirectory method of the ClientStore Class contains the following signatures:
isDirectory(String stgfilename)
isDirectory(String stgfilename, int flags)
Determines whether the specified file is a directory.
public boolean isDirectory(String stgfilename) throws IOException;
Returns true if the file is a directory; otherwise, returns false.
stgfilename | The name of the file. |
IOException if the file name is not valid or if the file cannot be found.
Determines whether the specified file is a directory.
public boolean isDirectory(String stgfilename, int flags) throws IOException;
Returns true if the file is a directory; otherwise, returns false.
stgfilename | The name of the file. |
flags | A value that indicates the storage area in which to search for stgfilename. It can be one or both of the STORE_FL_LOCAL and STORE_FL_ROAMING flags. |
IOException if the file name is not valid or if the file cannot be found.