Examples of EnumrationImpl


Examples of org.objectweb.util.monolog.wrapper.common.EnumrationImpl

  /**
   * Returns the list of the different names of the topicalLogger
   */
  public Enumeration getTopics() {
    return new EnumrationImpl(
      topicToparents.keySet().toArray(new String[0]));
  }
View Full Code Here

Examples of org.objectweb.util.monolog.wrapper.common.EnumrationImpl

   *@return    The Topics value
   */
  public Enumeration getTopics() {
    if (topics == null) {
      String[] ar = {name};
      return new EnumrationImpl(ar);
    }
    else {
            String[] str=new String[topics.size()];
            for (int i=0; i<topics.size(); i++ ) {
                str[i]=(String)(topics.elementAt(i));
            }
      return new EnumrationImpl(str);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.