Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "PDT Dev2Dev - Copy Files the Eclipse way"
(New page: In case you want a convenient way to copy files the way Eclipse does, plus to have ability to copy directories, to track errors and have progress reported by monitor and several additional...) |
|||
Line 3: | Line 3: | ||
new LocalFile(new File(source)).copy(new LocalFile(new File(destination)), EFS.NONE, monitor); | new LocalFile(new File(source)).copy(new LocalFile(new File(destination)), EFS.NONE, monitor); | ||
− | --[[User:Seva.zend.com|Seva | + | --[[User:Seva.zend.com|Seva Lapsha]] 11:59, 6 November 2007 (EST) |
Revision as of 13:00, 6 November 2007
In case you want a convenient way to copy files the way Eclipse does, plus to have ability to copy directories, to track errors and have progress reported by monitor and several additional options, you are welcome:
new LocalFile(new File(source)).copy(new LocalFile(new File(destination)), EFS.NONE, monitor);
--Seva Lapsha 11:59, 6 November 2007 (EST)