public class Importer2
extends Object
implements RemoteAccess, Serializable
| Constructor and Description |
|---|
Importer2()
create an importer instance (deserialization only)
|
Importer2(String typeName,
String configName,
Map override)
create an importer instance with given configuration
|
| Modifier and Type | Method and Description |
|---|---|
List<Map<String,Object>> |
doImport()
import method, go to server if outside.
|
static List<Map<String,Object>> |
doImport(String typeName,
String configName)
static importer method creates an importer instance within method server context with given configuration and starts import.
|
static List<Map<String,Object>> |
doImport(String typeName,
String configName,
Map alterSettings) |
static String |
getContainerSelect(String curVal) |
List<Map<String,Object>> |
getResult() |
static String |
getSelect(Map<String,String> data,
String selectName,
String headVal,
String headDisplay,
String curVal) |
static void |
main(String[] args) |
static void |
usage() |
public static final int MAJOR
public static final int MINOR
public Importer2()
throws Exception
Exceptionpublic Importer2(String typeName,
String configName,
Map override)
throws Exception
configFile - Exceptionpublic List<Map<String,Object>> doImport()
throws Exception
Exceptionpublic static List<Map<String,Object>> doImport(String typeName,
String configName)
throws Exception
configFileName - Exceptionpublic static List<Map<String,Object>> doImport(String typeName,
String configName,
Map alterSettings)
throws Exception
Exceptionpublic static String getSelect(Map<String,String> data,
String selectName,
String headVal,
String headDisplay,
String curVal)
public List<Map<String,Object>> getResult()
public static String getContainerSelect(String curVal)
throws Exception
Exceptionpublic static void main(String[] args)
throws Exception
Exceptionpublic static void usage()