public class VectorFile2DatabaseImporter extends Object implements SOMToolboxApp
Modifier and Type | Class and Description |
---|---|
private class |
VectorFile2DatabaseImporter.InputVectorImporter
This class customises the handling of data read from the file by storing it in the DB.
|
private class |
VectorFile2DatabaseImporter.TemplateVectorImporter
This class customises the handling of data read from the file by storing it in the DB.
|
SOMToolboxApp.Type
Modifier and Type | Field and Description |
---|---|
static SOMToolboxApp.Type |
APPLICATION_TYPE |
static String |
DESCRIPTION |
static String |
LONG_DESCRIPTION |
static com.martiansoftware.jsap.Parameter[] |
OPTIONS |
DEV_BY_STRING, HOMEPAGE, INFO, INFO_TEXT, LICENSE_TEXT, REQUIRED_MEMBERS, TYPE_GROUPED_COMPARATOR
public static final com.martiansoftware.jsap.Parameter[] OPTIONS
public static final String DESCRIPTION
public static final String LONG_DESCRIPTION
public static final SOMToolboxApp.Type APPLICATION_TYPE
public VectorFile2DatabaseImporter(String inputVectorFile, String templateVectorFile, String databaseServerAddress, String databaseName, String user, String password, String databaseTableNamePrefix) throws SQLException, IOException
SQLException
IOException
public static void main(String[] args) throws SQLException, IOException
args
- Needed program arguments:
SQLException
- If there is a problem connecting to the database.IOException
- If the input or template vector file can't be read.