org.mesopotamia
Class FileSourceIterator

java.lang.Object
  extended by org.mesopotamia.FileSourceIterator
All Implemented Interfaces:
SourceIterator

public class FileSourceIterator
extends java.lang.Object
implements SourceIterator

For a given start directory iterates recursivly over directory structure to provide Sources from a filesystem.

Author:
sourceeater

Constructor Summary
FileSourceIterator(java.util.Collection<java.io.File> rootFiles)
           
 
Method Summary
 Source nextSource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSourceIterator

public FileSourceIterator(java.util.Collection<java.io.File> rootFiles)
Method Detail

nextSource

public Source nextSource()
Specified by:
nextSource in interface SourceIterator
Returns:
Next source or null if there are no more sources.


Copyright © 2005 Hammurapi Group. All Rights Reserved.