Eclipse: how to traverse all files in some folder
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?
You can use IFolder.members() recursively to traverse the directory. (I am a bit confused, why did you mention EMF?)
精彩评论