|
||||||||||
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 java.util.Map |
copy(java.util.Map source)
Clones a map. |
static java.util.Map |
merge(java.util.Map lhs,
java.util.Map rhs)
Clones the lhs map and add all things from the rhs map. |
static java.util.Map |
prefix(java.util.Map source,
java.lang.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 java.util.Map copy(java.util.Map source)
source
- the source map
public static java.util.Map prefix(java.util.Map source, java.lang.String prefix)
source
- the source mapprefix
- the prefix used for all names
public static java.util.Map merge(java.util.Map lhs, java.util.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 |