org.eaglei.datatools.etl.server.extractor
Class FileIterator

java.lang.Object
  extended by org.eaglei.datatools.etl.server.extractor.FileIterator
All Implemented Interfaces:
java.util.Iterator<java.io.File>

public class FileIterator
extends java.lang.Object
implements java.util.Iterator<java.io.File>

Author:
Sravan Cheriyala

Constructor Summary
FileIterator(java.lang.String directoryPath)
           
 
Method Summary
 boolean hasNext()
           
 java.io.File next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileIterator

public FileIterator(java.lang.String directoryPath)
             throws NotADirectoryException
Throws:
NotADirectoryException
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<java.io.File>

next

public java.io.File next()
Specified by:
next in interface java.util.Iterator<java.io.File>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<java.io.File>


Copyright © 2009-2011 Eagle-I. All Rights Reserved.