mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-19 14:15:50 +02:00
[doc] Improve IFileService#setLastModified() Javadocs
This commit is contained in:
parent
83184918e8
commit
afd6ce3f66
1 changed files with 60 additions and 50 deletions
|
@ -494,11 +494,21 @@ public interface IFileService extends IService
|
||||||
* Set the last modified stamp of the file or folder with the specified
|
* Set the last modified stamp of the file or folder with the specified
|
||||||
* timestamp.
|
* 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 parent the parent path of the file to set
|
||||||
* @param name the name 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
|
* @param monitor the progress monitor
|
||||||
* @return true if the file timestamp was changed successfully
|
* @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;
|
public boolean setLastModified(String parent, String name, long timestamp, IProgressMonitor monitor) throws SystemMessageException;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue