1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-19 06:05:56 +02:00

[doc] Improve IFileService#setLastModified() Javadocs

This commit is contained in:
Martin Oberhuber 2008-04-04 11:41:40 +00:00
parent 83184918e8
commit afd6ce3f66

View file

@ -494,11 +494,21 @@ public interface IFileService extends IService
* Set the last modified stamp of the file or folder with the specified
* timestamp.
*
* Note that the precision to which the underlying file system supports last
* modified times may vary. Therefore, even if this method successfully sets
* the timestamp, there is no guarantee that the
* {@link IHostFile#getModifiedDate()} method after a following
* {@link #getFile(String, String, IProgressMonitor)} call returns exactly
* the same timestamp.
*
* @param parent the parent path of the file to set
* @param name the name of the file to set
* @param timestamp the new timestamp
* @param timestamp the new timestamp in milliseconds from January 1, 1970,
* 00:00:00 UTC.
* @param monitor the progress monitor
* @return true if the file timestamp was changed successfully
*
* @see IHostFile#getModifiedDate()
*/
public boolean setLastModified(String parent, String name, long timestamp, IProgressMonitor monitor) throws SystemMessageException;