Package org.objectweb.util.monolog.wrapper.common

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


   *@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

Related Classes of org.objectweb.util.monolog.wrapper.common.EnumrationImpl

Copyright © 2018 www.massapicom. 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.