开发者

copying Folder to another folder which copy all content recursively

i want to copy folder1 to the folder2.now folder1 consists of many folders and files also开发者_运维知识库 and so on..How can i program that all the files and folders will copy to the Folder2.I know the logic to copy a single file to a folder..


Similar problems in other platforms often use recursion.


Save some time and use the Jakarta FileUtils.copyDirectory()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜