visad.data
Class DirectoryRepository.Enumerator

java.lang.Object
  extended by visad.data.DirectoryRepository.Enumerator
All Implemented Interfaces:
java.util.Enumeration
Enclosing class:
DirectoryRepository

public class DirectoryRepository.Enumerator
extends java.lang.Object
implements java.util.Enumeration

Inner class for enumerating the files in the directory.


Field Summary
protected  int i
           
protected  java.lang.String[] list
           
 
Constructor Summary
protected DirectoryRepository.Enumerator()
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i

protected int i

list

protected final java.lang.String[] list
Constructor Detail

DirectoryRepository.Enumerator

protected DirectoryRepository.Enumerator()
                                  throws java.lang.SecurityException
Throws:
java.lang.SecurityException
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
                             throws java.util.NoSuchElementException
Specified by:
nextElement in interface java.util.Enumeration
Throws:
java.util.NoSuchElementException