public interface Importer
Importer interface to run data import.| Modifier and Type | Field and Description | 
|---|---|
static DataAdapter[] | 
defaultAdapters  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addListener(Listener listener)
Add a data import event listener. 
 | 
void | 
clearListener()
Clear listeners. 
 | 
void | 
run()
Run the data import task. 
 | 
void | 
run(ImportTask task)
Run the specified import task. 
 | 
void | 
setContext(Map<String,Object> context)
Set global context. 
 | 
static final DataAdapter[] defaultAdapters
void setContext(Map<String,Object> context)
context - the global contextvoid addListener(Listener listener)
listener - the listenervoid clearListener()
void run()
void run(ImportTask task)
task - the task to run