java - how to create a new folder inside a folder using IFolder or IResources interfaces in eclipse -
i wanted create folders inside folder in eclipse plugin project programmatically using iresources or ifolder interfaces methods. , want move files of parent folder inside newly created folder/s...
create folder like:
ifolder folder = container.getfolder("folder name"); folder.create(false, true, progressmonitor);
where container
folder or project containing new folder.
move resources using
iresource resource = .... resource move ipath destinationpath = folder.getfullpath().append(resource.getname()); resource.move(destinationpath, false, progressmonitor);
Comments
Post a Comment