java.util.Collections has a list method that copies an Enumeration into a List, which you can then use in a for-each loop (see javadoc).
java.util.Collections has a list method that copies an Enumeration into a List, which you can then use in a for-each loop (see javadoc).