org.objectweb.jac.aspects.gui
Class WrappableMap

java.lang.Object
  |
  +--org.objectweb.jac.aspects.gui.WrappableMap

public class WrappableMap
extends Object

This class is a mere wrapper which delegates all methods to a real Map. It allows you to have wrappable maps.


Constructor Summary
WrappableMap(Map delegate)
           
 
Method Summary
 void clear()
           
static String[] getCategories(WrappableMap wmap)
           
protected  Map getDelegate()
           
static Integer[] getLevels(WrappableMap wmap)
           
 void put(String key, Integer value)
          Calls put on delegate for every key already in delegate which matches key.
 Object remove(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrappableMap

public WrappableMap(Map delegate)
Method Detail

getDelegate

protected Map getDelegate()

put

public void put(String key,
                Integer value)
         throws gnu.regexp.REException
Calls put on delegate for every key already in delegate which matches key. For instance, call with put("gui.*",0) will turn off all gui traces.

Parameters:
key - regexp key
value - trace level
gnu.regexp.REException

clear

public void clear()

remove

public Object remove(String key)

getCategories

public static String[] getCategories(WrappableMap wmap)

getLevels

public static Integer[] getLevels(WrappableMap wmap)