How do I convert an old-style Enumeration to something in the Collections Framework?
Location: http://www.jguru.com/faq/view.jsp?EID=485886 Created: Aug 28, 2001 Author: John Zukowski (http://www.jguru.com/guru/viewbio.jsp?EID=7) Prior to Java 1.4, any conversion had to be manually done. With the introduction of 1.4, you can call Collections.list(enumeration) to automatically convert the Enumeration to an ArrayList.