1 package org.incava.qualog; 2 3 import java.util.*; 4 5 6 9 public class QlEnumeration 10 { 11 public static boolean stack(QlLevel level, 12 ANSIColor[] msgColors, 13 String name, 14 Enumeration en, 15 ANSIColor fileColor, 16 ANSIColor classColor, 17 ANSIColor methodColor, 18 int numFrames) 19 { 20 Collection ary = new ArrayList(); 21 while (en.hasMoreElements()) { 22 ary.add(en.nextElement()); 23 } 24 25 return QlCollection.stack(level, msgColors, name, ary, fileColor, classColor, methodColor, numFrames); 26 } 27 } 28 29 | Popular Tags |