The getFileSize method of the ClientStore Class contains the following signatures:
getFileSize(String stgfilename)
getFileSize(String stgfilename, int flags)
Retrieves the size of the specified file, measured in bytes.
public long getFileSize(String stgfilename) throws IOException;
Returns the size of the file, in bytes.
stgfilename | The name of the file whose size is being measured. |
IOException if the file name is not valid or if the file cannot be found.
Retrieves the size of the specified file, in bytes.
public long getFileSize(String stgfilename, int flags) throws IOException;
Returns the size of the file, in bytes.
Stgfilename | The name of the file whose size is being measured. |
Flags | A value that indicates the storage area in which to search for stgfilename. It can one or both of the STORE_FL_LOCAL and STORE_FL_ROAMING flags. |
IOException if the file name is not valid or the file cannot be found.