| 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 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 |
static String |
TYPE_WFS |
| Constructor and Description |
|---|
DataStoreLinker(Map<String,Object> input,
Map<String,Object> actions,
Properties batch) |
DataStoreLinker(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(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 Process process
protected boolean disposed
public static final String TYPE_ORACLE
public static final String TYPE_POSTGIS
public static final String TYPE_WFS
public DataStoreLinker(Properties batch) throws Exception
Exceptionpublic Status getStatus()
public boolean isDisposed()
public void process()
throws Exception
Exception - generic exceptionpublic static ActionList createActionList(Map<String,Object> actionlistParams) throws Exception
Exceptionpublic static org.geotools.data.DataStore openDataStore(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
params - the datastore parameterscreateNew - create new or notException - generic 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'IOException - general IOexceptionCopyright © 2020 B3Partners B.V.. All rights reserved.