com.vividsolutions.jump.io.datasource
Class StandardReaderWriterFileDataSource

java.lang.Object
  extended by com.vividsolutions.jump.io.datasource.DataSource
      extended by com.vividsolutions.jump.io.datasource.ReaderWriterFileDataSource
          extended by com.vividsolutions.jump.io.datasource.StandardReaderWriterFileDataSource
Direct Known Subclasses:
StandardReaderWriterFileDataSource.FMEGML, StandardReaderWriterFileDataSource.GML, StandardReaderWriterFileDataSource.JML, StandardReaderWriterFileDataSource.Shapefile, StandardReaderWriterFileDataSource.WKT

public abstract class StandardReaderWriterFileDataSource
extends ReaderWriterFileDataSource

Contains DataSource classes for the standard JUMP Readers and Writers. DataSource implementations cannot be anonymous classes if they are to be saved to a project file (because the class name is saved).


Nested Class Summary
static class StandardReaderWriterFileDataSource.FMEGML
           
static class StandardReaderWriterFileDataSource.GML
           
static class StandardReaderWriterFileDataSource.JML
           
static class StandardReaderWriterFileDataSource.Shapefile
           
static class StandardReaderWriterFileDataSource.WKT
           
 
Field Summary
protected  java.lang.String[] extensions
           
static java.lang.String[] GML_EXTENSIONS
           
static java.lang.String INPUT_TEMPLATE_FILE_KEY
           
static java.lang.String OUTPUT_TEMPLATE_FILE_KEY
           
 
Fields inherited from class com.vividsolutions.jump.io.datasource.ReaderWriterFileDataSource
reader, writer
 
Fields inherited from class com.vividsolutions.jump.io.datasource.DataSource
COORDINATE_SYSTEM_KEY, FILE_KEY
 
Constructor Summary
StandardReaderWriterFileDataSource(JUMPReader reader, JUMPWriter writer, java.lang.String[] extensions)
           
 
Method Summary
 java.lang.String[] getExtensions()
           
static java.util.Collection toEndings(java.lang.String[] extensions)
           
 
Methods inherited from class com.vividsolutions.jump.io.datasource.ReaderWriterFileDataSource
getConnection, getReaderDriverProperties, getWriterDriverProperties
 
Methods inherited from class com.vividsolutions.jump.io.datasource.DataSource
getProperties, installCoordinateSystem, isReadable, isWritable, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extensions

protected java.lang.String[] extensions

GML_EXTENSIONS

public static final java.lang.String[] GML_EXTENSIONS

OUTPUT_TEMPLATE_FILE_KEY

public static final java.lang.String OUTPUT_TEMPLATE_FILE_KEY
See Also:
Constant Field Values

INPUT_TEMPLATE_FILE_KEY

public static final java.lang.String INPUT_TEMPLATE_FILE_KEY
See Also:
Constant Field Values
Constructor Detail

StandardReaderWriterFileDataSource

public StandardReaderWriterFileDataSource(JUMPReader reader,
                                          JUMPWriter writer,
                                          java.lang.String[] extensions)
Method Detail

getExtensions

public java.lang.String[] getExtensions()

toEndings

public static java.util.Collection toEndings(java.lang.String[] extensions)