The getLastModificationTime method of the ClientStore Class contains the following signatures:
getLastModificationTime(String stgfilename)
getLastModificationTime(String stgfilename, int flags)
Retrieves the time that the specified file was last modified.
public long getLastModificationTime(String stgfilename) throws IOException;
CAUTION The return value is system-dependent and should only be used to compare with values returned by lastModified. It should not be interpreted as an absolute time.
Returns the time that the file specified by this object was last modified.
stgfilename | The name of the file whose last modification time is being retrieved. |
IOException if the file name is invalid or if the file does not exist.
Retrieves the time that the specified file was last modified.
public long getLastModificationTime(String stgfilename, int flags) throws IOException;
CAUTION The return value is system-dependent and should only be used to compare with values returned by lastModified. It should not be interpreted as an absolute time.
Returns the time that the file specified by this object was last modified.
stgfilename | The name of the file whose last modification time is being retrieved. |
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 invalid or if the file does not exist.