com.sun.jimi.util
Class ArrayEnumeration

java.lang.Object
  |
  +--com.sun.jimi.util.ArrayEnumeration

public class ArrayEnumeration
extends java.lang.Object
implements java.util.Enumeration

Simple class that allows for the return of an array of strings via an Enumeration. Initially written for use by JimiEncoder and JimiDecoder implementations which have options for use by the method getPropertyNames().


Constructor Summary
ArrayEnumeration(java.lang.Object[] array)
           
 
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
 

Constructor Detail

ArrayEnumeration

public ArrayEnumeration(java.lang.Object[] array)
Method Detail

hasMoreElements

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

nextElement

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