com.canoo.webtest.util
Class MapUtil

java.lang.Object
  extended by com.canoo.webtest.util.MapUtil

public class MapUtil
extends Object


Constructor Summary
MapUtil()
           
 
Method Summary
static void putIfNotNull(Map map, String name, String value)
          Utility for adding element to a map if not null: puts the value in the map if is not null, does nothing if it is null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapUtil

public MapUtil()
Method Detail

putIfNotNull

public static void putIfNotNull(Map map,
                                String name,
                                String value)
Utility for adding element to a map if not null: puts the value in the map if is not null, does nothing if it is null.

Parameters:
map - the map to put in
name - the key to use
value - the value to add to the map

Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved.