|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.exec.util.MapUtils
public class MapUtils
Helper classes to manipulate maps to pass substition map to the CommandLine. This class is not part of the public API and could change without warning.
| Constructor Summary | |
|---|---|
MapUtils()
|
|
| Method Summary | |
|---|---|
static Map |
copy(Map source)
Clones a map. |
static Map |
merge(Map lhs,
Map rhs)
Clones the lhs map and add all things from the rhs map. |
static Map |
prefix(Map source,
String prefix)
Clones a map and prefixes the keys in the clone, e.g. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapUtils()
| Method Detail |
|---|
public static Map copy(Map source)
source - the source map
public static Map prefix(Map source,
String prefix)
source - the source mapprefix - the prefix used for all names
public static Map merge(Map lhs,
Map rhs)
lhs - the first maprhs - the second map
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||