开发者

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?)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜