Class ReaderWriterFileDataSource
- java.lang.Object
-
- org.locationtech.jts.jump.io.datasource.DataSource
-
- org.locationtech.jts.jump.io.datasource.ReaderWriterFileDataSource
-
- Direct Known Subclasses:
StandardReaderWriterFileDataSource
public class ReaderWriterFileDataSource extends DataSource
Adapts the old JUMP I/O API (Readers and Writers) to the new JUMP I/O API (DataSources).
-
-
Field Summary
Fields Modifier and Type Field Description protected JUMPReader
reader
protected JUMPWriter
writer
-
Fields inherited from class org.locationtech.jts.jump.io.datasource.DataSource
COORDINATE_SYSTEM_KEY, FILE_KEY
-
-
Constructor Summary
Constructors Constructor Description ReaderWriterFileDataSource(JUMPReader reader, JUMPWriter writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection
getConnection()
Creates a new Connection to this DataSource.protected DriverProperties
getReaderDriverProperties()
protected DriverProperties
getWriterDriverProperties()
-
Methods inherited from class org.locationtech.jts.jump.io.datasource.DataSource
getProperties, installCoordinateSystem, isReadable, isWritable, setProperties
-
-
-
-
Field Detail
-
reader
protected JUMPReader reader
-
writer
protected JUMPWriter writer
-
-
Constructor Detail
-
ReaderWriterFileDataSource
public ReaderWriterFileDataSource(JUMPReader reader, JUMPWriter writer)
-
-
Method Detail
-
getConnection
public Connection getConnection()
Description copied from class:DataSource
Creates a new Connection to this DataSource.- Specified by:
getConnection
in classDataSource
-
getReaderDriverProperties
protected DriverProperties getReaderDriverProperties()
-
getWriterDriverProperties
protected DriverProperties getWriterDriverProperties()
-
-