net.sf.mmm.util.resource.base
Class FileResource.FileResourceIterator

java.lang.Object
  extended by net.sf.mmm.util.resource.base.FileResource.FileResourceIterator
All Implemented Interfaces:
Iterator<BrowsableResource>
Enclosing class:
FileResource

protected static class FileResource.FileResourceIterator
extends Object
implements Iterator<BrowsableResource>

This inner class is an Iterator of FileResources.


Field Summary
private  File[] files
          The array of Files.
private  int index
          The current index in files.
 
Constructor Summary
FileResource.FileResourceIterator(File[] files)
          The constructor.
 
Method Summary
 boolean hasNext()
          
 FileResource next()
          
 void remove()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

files

private final File[] files
The array of Files.


index

private int index
The current index in files.

Constructor Detail

FileResource.FileResourceIterator

public FileResource.FileResourceIterator(File[] files)
The constructor.

Parameters:
files - are the Files to iterate.
Method Detail

hasNext

public boolean hasNext()

Specified by:
hasNext in interface Iterator<BrowsableResource>

next

public FileResource next()

Specified by:
next in interface Iterator<BrowsableResource>

remove

public void remove()

Specified by:
remove in interface Iterator<BrowsableResource>


Copyright © 2001-2010 mmm-Team. All Rights Reserved.