Class ReaderWriterFileDataSource

java.lang.Object
com.vividsolutions.jump.io.datasource.DataSource
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 Details

  • Constructor Details

  • Method Details

    • getConnection

      public Connection getConnection()
      Description copied from class: DataSource
      Creates a new Connection to this DataSource.
      Specified by:
      getConnection in class DataSource
      Returns:
      a Connection to connect to this DataSource
    • createDescriptiveName

      protected static String createDescriptiveName(URI uri)
      return 'file.ext (archive.ext)' for archive members and 'file.ext' for all others
    • getReaderDriverProperties

      protected DriverProperties getReaderDriverProperties()
    • getWriterDriverProperties

      protected DriverProperties getWriterDriverProperties()
    • getDriverProperties

      protected DriverProperties getDriverProperties()
    • isReadable

      public boolean isReadable()
      Overrides:
      isReadable in class DataSource
    • isWritable

      public boolean isWritable()
      Overrides:
      isWritable in class DataSource
    • getExtensions

      public String[] getExtensions()