Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How do i get all files from a project
How do i get all files from a project [message #336814] Fri, 03 July 2009 20:46 Go to next message
Bhuvan Mehta is currently offline Bhuvan MehtaFriend
Messages: 58
Registered: July 2009
Member
Hello,

I want to get all the files/files with specified extension[say .temp] from
an eclipse IProject. Is there any way to retrieve all files/with one
extension from a project ??

--
Thanks and Regards,
Bhuvan Mehta
Re: How do i get all files from a project [message #336815 is a reply to message #336814] Sat, 04 July 2009 01:18 Go to previous message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
One idea is to write an IResourceVisitor that looks for matches. Pass it
to IProject#accept(visitor).

HTH
Ben

Bhuvan wrote:
> Hello,
>
> I want to get all the files/files with specified extension[say .temp]
> from an eclipse IProject. Is there any way to retrieve all files/with
> one extension from a project ??
>
> --
> Thanks and Regards,
> Bhuvan Mehta
Previous Topic:Why is the mac os x cocoa-x86_64 download hidden away?
Next Topic:Galileo problems?
Goto Forum:
  


Current Time: Thu Dec 26 20:29:16 GMT 2024

Powered by FUDForum. Page generated in 0.03180 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top