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 Mehta
Messages: 38
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 Vitale
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: Sun Sep 21 12:20:09 GMT 2014

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

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