File System Iterators

The File System Framework provides three classes that you can use for iterating through directories and volumes:

IVolumeIterator returns an IVolume for each disk connected to the system and for each connected network drive. Additionally, because each volume is represented as a root directory, IRootDirectoryIterator will return the same entities as IVolumeIterator.

There is only one root directory ("/") on UNIX systems.



Introduction to the File System
Overview of File System Entities
Files
Directories
Volumes
File System Exceptions


Looking Up Entities with a Directory Iterator
Iterating over the Contents of a Directory
Iterating over the Contents of a Volume
Iterating over all Mounted Volumes
Iterating over all Root Directories
Instantiating Host-Specific Pathnames and Pathname Parsers
Instantiating a Portable Pathname from a Host-Specific Pathname