| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_PREFIX |
protected ActionList |
actionList |
static String |
ACTIONLIST_PREFIX |
protected Properties |
batch |
protected org.geotools.data.DataStore |
dataStore2Read |
static String |
DATASTORE2READ_PREFIX |
static String |
DEFAULT_FROM |
static String |
DEFAULT_SMTPHOST |
protected static String |
DEFAULT_WRITER |
protected boolean |
disposed |
protected nl.b3p.datastorelinker.entity.Process |
process |
static String |
READ_TYPENAME |
static String |
SETTINGS_PREFIX |
protected Status |
status |
static String |
TYPE_ORACLE |
static String |
TYPE_POSTGIS |
static String |
TYPE_PREFIX |
| Constructor and Description |
|---|
DataStoreLinker(Map<String,Object> input,
Map<String,Object> actions,
Properties batch) |
DataStoreLinker(nl.b3p.datastorelinker.entity.Process process) |
DataStoreLinker(Properties batch) |
| Modifier and Type | Method and Description |
|---|---|
static ActionList |
createActionList(Map<String,Object> actionlistParams) |
void |
dispose() |
static String |
getSaveProp(Properties batch,
String key,
String defaultValue) |
Status |
getStatus() |
boolean |
isDisposed() |
static org.geotools.data.DataStore |
openDataStore(nl.b3p.datastorelinker.entity.Database database) |
static org.geotools.data.DataStore |
openDataStore(Map params) |
static org.geotools.data.DataStore |
openDataStore(Map params,
boolean createNew)
Open a dataStore (save).
|
static org.geotools.data.DataStore |
openDataStore(String file) |
void |
process()
Process all features in dataStore2Read
|
static Map<String,Object> |
propertiesToMaps(Properties batch,
String filter)
Make HashMap structure from propertylist
|
void |
run() |
public static final String ACTIONLIST_PREFIX
public static final String ACTION_PREFIX
public static final String TYPE_PREFIX
public static final String SETTINGS_PREFIX
public static final String DATASTORE2READ_PREFIX
public static final String READ_TYPENAME
protected static final String DEFAULT_WRITER
public static String DEFAULT_SMTPHOST
public static String DEFAULT_FROM
protected Status status
protected org.geotools.data.DataStore dataStore2Read
protected ActionList actionList
protected Properties batch
protected nl.b3p.datastorelinker.entity.Process process
protected boolean disposed
public static final String TYPE_ORACLE
public static final String TYPE_POSTGIS
public DataStoreLinker(nl.b3p.datastorelinker.entity.Process process)
throws Exception
Exceptionpublic DataStoreLinker(Properties batch) throws Exception
Exceptionpublic Status getStatus()
public boolean isDisposed()
public void process()
throws Exception
Exceptionpublic static ActionList createActionList(Map<String,Object> actionlistParams) throws Exception
Exceptionpublic static org.geotools.data.DataStore openDataStore(nl.b3p.datastorelinker.entity.Database database)
throws ConfigurationException,
Exception
ConfigurationExceptionExceptionpublic static org.geotools.data.DataStore openDataStore(String file) throws ConfigurationException, Exception
ConfigurationExceptionExceptionpublic static org.geotools.data.DataStore openDataStore(Map params) throws Exception
Exceptionpublic static org.geotools.data.DataStore openDataStore(Map params, boolean createNew) throws Exception
Exceptionpublic static String getSaveProp(Properties batch, String key, String defaultValue)
public static Map<String,Object> propertiesToMaps(Properties batch, String filter) throws IOException
batch - Original properties listfilter - Specified to filter start of properties, like
'actionlist.action'IOExceptionCopyright © 2016. All rights reserved.