Class MapUtils
java.lang.Object
org.apache.commons.exec.util.MapUtils
Helper classes to manipulate maps to pass substitution map to the CommandLine. This class is not part of the public API and could change without warning.
-
Constructor Details
-
MapUtils
Deprecated.Will be private in the next major version.Constructs a new instance.
-
-
Method Details
-
copy
-
merge
-
prefix
Clones a map and prefixes the keys in the clone, e.g. for mapping "JAVA_HOME" to "env.JAVA_HOME" to simulate the behavior of Ant.- Type Parameters:
K- the map key type.V- the map value type.- Parameters:
source- the source map.prefix- the prefix used for all names.- Returns:
- the clone of the source map.
-