org.smallmind.license
Class LicensedFileIterator

java.lang.Object
  extended by org.smallmind.license.LicensedFileIterator
All Implemented Interfaces:
Iterable<File>, Iterator<File>

public class LicensedFileIterator
extends Object
implements Iterator<File>, Iterable<File>


Constructor Summary
LicensedFileIterator(File directory, FileFilter... fileFilters)
           
 
Method Summary
 boolean hasNext()
           
 Iterator<File> iterator()
           
 File next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicensedFileIterator

public LicensedFileIterator(File directory,
                            FileFilter... fileFilters)
                     throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<File>

next

public File next()
Specified by:
next in interface Iterator<File>

remove

public void remove()
Specified by:
remove in interface Iterator<File>

iterator

public Iterator<File> iterator()
Specified by:
iterator in interface Iterable<File>


Copyright © 2011. All Rights Reserved.