Eclipse: how to navigate all files in a folder

I have an org.eclipse.core.resources.IFolder file. I need to go through all the files in this folder. (I also need to do some SAX stuff for each file, but I don't want to load the EMF model because it is too slow)

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

+4
source share
1 answer

You can use IFolder.members () recursively to move through the directory. (I'm a little confused, why did you mention EMF?)

+8
source

Source: https://habr.com/ru/post/1315535/


All Articles