|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lamatek.util.EnumerationToArray
public class EnumerationToArray
A utility class that creates an Object or String array
from a java.util.Enumeration instance. You can call the
methods in this class directly or you can call the
associated methods provided in the blanket class
ArrayUtil.
| Constructor Summary | |
|---|---|
EnumerationToArray()
|
|
| Method Summary | |
|---|---|
static java.lang.Object[] |
createObjectArray(java.util.Enumeration num)
This static method creates an array of type Object from all the elements in the supplied java.util.Enumeration. |
static java.lang.String[] |
createStringArray(java.util.Enumeration num)
A static method that creates an array of type String from the supplied Enumeration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnumerationToArray()
| Method Detail |
|---|
public static java.lang.Object[] createObjectArray(java.util.Enumeration num)
num - - An instance of java.util.Enumeration
public static java.lang.String[] createStringArray(java.util.Enumeration num)
createObjectArray.
v - - An instance of java.util.Vector
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||