Package org.openjump.core.ui.plugin.file
Class InstallDummyReaderPlugIn.DummyDataSource
- java.lang.Object
-
- com.vividsolutions.jump.io.datasource.DataSource
-
- org.openjump.core.ui.plugin.file.InstallDummyReaderPlugIn.DummyDataSource
-
- Enclosing class:
- InstallDummyReaderPlugIn
public static class InstallDummyReaderPlugIn.DummyDataSource extends DataSource
-
-
Field Summary
-
Fields inherited from class com.vividsolutions.jump.io.datasource.DataSource
CHARSET_KEY, COMPRESSED_KEY, COORDINATE_SYSTEM_CODE, COORDINATE_SYSTEM_KEY, COORDINATE_SYSTEM_REGISTRY, FILE_KEY, URI_KEY
-
-
Constructor Summary
Constructors Constructor Description DummyDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection
getConnection()
Creates a new Connection to this DataSource.Map
getProperties()
FeatureCollection
installCoordinateSystem(FeatureCollection queryResult, CoordinateSystemRegistry registry)
boolean
isReadable()
boolean
isWritable()
void
setProperties(Map properties)
Sets properties required to open a DataSource, such as username, password, filename, coordinate system, etc.-
Methods inherited from class com.vividsolutions.jump.io.datasource.DataSource
isDisabled, setDisabled
-
-
-
-
Method Detail
-
getConnection
public Connection getConnection()
Description copied from class:DataSource
Creates a new Connection to this DataSource.- Specified by:
getConnection
in classDataSource
- Returns:
- a Connection to connect to this DataSource
-
getProperties
public Map getProperties()
- Overrides:
getProperties
in classDataSource
-
installCoordinateSystem
public FeatureCollection installCoordinateSystem(FeatureCollection queryResult, CoordinateSystemRegistry registry)
- Overrides:
installCoordinateSystem
in classDataSource
-
isReadable
public boolean isReadable()
- Overrides:
isReadable
in classDataSource
-
isWritable
public boolean isWritable()
- Overrides:
isWritable
in classDataSource
-
setProperties
public void setProperties(Map properties)
Description copied from class:DataSource
Sets properties required to open a DataSource, such as username, password, filename, coordinate system, etc. Called by DataSourceQueryChoosers.- Overrides:
setProperties
in classDataSource
- Parameters:
properties
- the map containing properties for this DataSource
-
-