tags:

views:

18

answers:

2

Hi

Sorry for probably too simple question. I do have some org.eclipse.core.resources.IFolder I need to traverse all files in this folder. (I also need to do some SAX things for each file, but I don't want to load EMF model, because it's too slow)

What is the best way to get the list of all files in this folder and subfolders?

Thanks, Oleg

A: 

FileUtils from apache commons-io library

Pangea
A: 

You can use IFolder.members() recursively to traverse the directory. (I am a bit confused, why did you mention EMF?)

ShiDoiSi
thanks, this is what I need.Yes, EMF is not connected...
javapowered