com.vividsolutions.jump.io.datasource
Class ReaderWriterFileDataSource

java.lang.Object
  extended by com.vividsolutions.jump.io.datasource.DataSource
      extended by com.vividsolutions.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 inherited from class com.vividsolutions.jump.io.datasource.DataSource
COORDINATE_SYSTEM_KEY, FILE_KEY
 
Constructor Summary
ReaderWriterFileDataSource(JUMPReader reader, JUMPWriter writer)
           
 
Method Summary
 Connection getConnection()
          Creates a new Connection to this DataSource.
 
Methods inherited from class com.vividsolutions.jump.io.datasource.DataSource
getProperties, installCoordinateSystem, isReadable, isWritable, setProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 class DataSource