This is a convenience method, fully equivalent to:
move(destination, (keepHistory ? KEEP_HISTORY : IResource.NONE) | (force ? FORCE : IResource.NONE), monitor);
This method changes resources; these changes will be reported in a subsequent resource change event, including an indication that this file has been removed from its parent and a new file has been added to the parent of the destination.
This method is long-running; progress and cancellation are provided by the given progress monitor.
@param destination the destination path @param force a flag controlling whether resources that are notin sync with the local file system will be tolerated @param keepHistory a flag controlling whether files under this foldershould be stored in the workspace's local history @param monitor a progress monitor, ornull
if progressreporting is not desired
@exception CoreException if this resource could not be moved. Reasons include:force
is false
.IResourceChangeEvent
for more details.
|
|
|
|
|
|