|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.load.DataMap
Used in processing the data and map files to retrieve attributes for input
into the load methods.
Supported API: false
Field Summary | |
(package private) Hashtable |
attribMap
|
(package private) Hashtable |
callMap
|
private static String |
SERVICE_NAME
|
private static boolean |
VERBOSE
|
Constructor Summary | |
(package private) |
DataMap(String mapFilename,
String token)
Parse the map file. |
Method Summary | |
(package private) String |
getCallMap(String classname,
String method)
Returns real method to call on this data given the key of class and method from the data file and command line. |
(package private) Vector |
getDataMap(String classname,
String method)
Returns ordering of fields for data file given the key of class and method from the data file and command line. |
(package private) Hashtable |
makeNvHash(String classname,
String method,
Vector valuelist)
Make the name/value pairs to pass to the load method. |
(package private) void |
printCallMap()
Used in debugging of method call information. |
(package private) void |
printDataMap()
Used in debugging of data fields. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
Hashtable attribMap
Hashtable callMap
private static final boolean VERBOSE
private static final String SERVICE_NAME
Constructor Detail |
DataMap(String mapFilename, String token)
mapFilename
- Full pathname of the map file.token
- Separator for the data in the map file.
Method Detail |
void printDataMap()
void printCallMap()
Vector getDataMap(String classname, String method)
classname
- Generic class from map and data files. Doesn't have to be the real wt...class.method
- Generic method string from command line and map file. Usually isn't the real wt...method.
String getCallMap(String classname, String method)
classname
- Generic class from map and data files. Doesn't have to be the real wt...class.method
- Generic method string from command line and map file. Usually isn't the real wt...method.
Hashtable makeNvHash(String classname, String method, Vector valuelist)
classname
- Generic class from map and data files. Doesn't have to be the real wt...class.method
- Generic method string from command line and map file. Usually isn't the real wt...method.valuelist
- Values from data file to be matched with the names from the map file.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |