public class Mapper
extends Object
| Constructor and Description |
|---|
Mapper(String name)
read the map of maps
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getMappedBackMap(Map<String,Object> in) |
List<String> |
getMappedBackNames(Object in) |
Map<String,Object> |
getMappedMap(Map<String,Object> in,
boolean reverse,
Object exported) |
Map<String,Object> |
getMappedMap(Map<String,Object> in,
Object exported) |
String |
getMappedName(Object in) |
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 Mapper(String name)
throws Exception
name - the saved mappingsExceptionpublic Map<String,Object> getMappedMap(Map<String,Object> in,
boolean reverse,
Object exported)
throws Exception
Exceptionpublic List<String> getMappedBackNames(Object in)
throws Exception
Exceptionpublic String getMappedName(Object in)
throws Exception
Exceptionpublic Map<String,Object> getMappedMap(Map<String,Object> in,
Object exported)
throws Exception
Exceptionpublic Map<String,Object> getMappedBackMap(Map<String,Object> in)
throws Exception
Exceptionpublic static String subst(String s,
Map<String,Object> vals,
boolean removeNoMatch,
boolean substWTProps)
throws Exception
Exceptionpublic static void main(String[] a)
throws Exception
a - input paramsException