moveTo


Purpose

Moves an entry to a different location on the file system.

Signature

Entry.moveTo(dirEntry, newName, successCallback, errorCallback)

Parameter

Name Description Type Use
dirEntry The directory to which the entry is moved. DirectoryEntry required
newName A new name of the entry. If not specified it is the entry current name. DOMString optional
successCallback A callback that is called with the entry for the new object. EntryCallback optional
errorCallback A callback that is called when errors happen. ErrorCallback optional

Returns

This method does not return anything.

Related topics

Entry
Overview
Legal notice | Copyright © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...