How to traverse a folder or directory recursively using Java File API

32,333 views
By Abhijit Ghosh on Jul 16, 2012 12:34:24 PM

This example shows how we can traverse a folder or directory structure using recursive algorithm by writing a small java program using Java File API.

Tags:

About this 'Hello World' site

This site is mainly developed to share coding and technology learning experiences on java / j2ee based technologies.

Simple tutorials / codes have been shared to learn a new technology. Full source code is also available for download.