Class DirectoryTreeItemIterator

java.lang.Object
nl.knaw.dans.layerstore.DirectoryTreeItemIterator
All Implemented Interfaces:
Iterator<Item>

public class DirectoryTreeItemIterator extends Object implements Iterator<Item>
An iterator that traverses a directory tree and yields Items representing files and directories. The paths of the items are relative to the provided root directory. The iterator includes the root directory itself as an item with an empty path.