Select files using file filters

In this tutorial we walk through the files in a file system. As we go through the directories and sub directories we identify specific file types using file filters. In this example image files of various formats are selected.

Download source code and art work
(you will need to provide an email address)

The directories are navigated using a breath first approach, which means all the directories at the top level are explored before dropping down to the sub directories. This is a different approach to the recursive call method which navigates depth first.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.