public class Mapper2
extends Object
Constructor and Description |
---|
Mapper2(ExportConfig myCfg)
read the map of maps
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getMappedBackMap(Map<String,Object> in) |
Map<String,Object> |
getMappedMap(Map<String,Object> in,
boolean reverse,
Object exported) |
Map<String,Object> |
getMappedMap(Map<String,Object> in,
Object exported) |
static void |
main(String[] a)
allow test subst against Template(arg0) with data from key/value pairs arg1/arg2 arg3/arg4 etc.
|
static String |
subst(String s,
Map<String,Object> vals,
boolean removeNoMatch,
boolean substWTProps) |
public static final int MAJOR
public static final int MINOR
public Mapper2(ExportConfig myCfg) throws Exception
name
- the saved mappingsException
public Map<String,Object> getMappedMap(Map<String,Object> in, boolean reverse, Object exported) throws Exception
Exception
public Map<String,Object> getMappedMap(Map<String,Object> in, Object exported) throws Exception
Exception
public Map<String,Object> getMappedBackMap(Map<String,Object> in) throws Exception
Exception
public static String subst(String s, Map<String,Object> vals, boolean removeNoMatch, boolean substWTProps) throws Exception
Exception
public static void main(String[] a) throws Exception
a
- input paramsException