Class StandardReaderWriterFileDataSource
- java.lang.Object
-
- com.vividsolutions.jump.io.datasource.DataSource
-
- com.vividsolutions.jump.io.datasource.ReaderWriterFileDataSource
-
- com.vividsolutions.jump.io.datasource.StandardReaderWriterFileDataSource
-
- Direct Known Subclasses:
StandardReaderWriterFileDataSource.FMEGML
,StandardReaderWriterFileDataSource.GeoJSON
,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
Nested Classes Modifier and Type Class Description static class
StandardReaderWriterFileDataSource.FMEGML
static class
StandardReaderWriterFileDataSource.GeoJSON
static class
StandardReaderWriterFileDataSource.GML
static class
StandardReaderWriterFileDataSource.JML
static class
StandardReaderWriterFileDataSource.Shapefile
static class
StandardReaderWriterFileDataSource.WKT
-
Field Summary
Fields Modifier and Type Field Description static String[]
GML_EXTENSIONS
static String
INPUT_TEMPLATE_FILE_KEY
static String
OUTPUT_TEMPLATE_FILE_KEY
static String
TEMPLATE_FILE_KEY
-
Fields inherited from class com.vividsolutions.jump.io.datasource.ReaderWriterFileDataSource
extensions, reader, writer
-
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 StandardReaderWriterFileDataSource(JUMPReader reader, JUMPWriter writer, String[] extensions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getExtensions()
static Collection<String>
toEndings(String[] extensions)
-
Methods inherited from class com.vividsolutions.jump.io.datasource.ReaderWriterFileDataSource
createDescriptiveName, getConnection, getDriverProperties, getReaderDriverProperties, getWriterDriverProperties, isReadable, isWritable
-
Methods inherited from class com.vividsolutions.jump.io.datasource.DataSource
getProperties, installCoordinateSystem, isDisabled, setDisabled, setProperties
-
-
-
-
Field Detail
-
GML_EXTENSIONS
public static final String[] GML_EXTENSIONS
-
TEMPLATE_FILE_KEY
public static String TEMPLATE_FILE_KEY
-
OUTPUT_TEMPLATE_FILE_KEY
public static final String OUTPUT_TEMPLATE_FILE_KEY
- See Also:
- Constant Field Values
-
INPUT_TEMPLATE_FILE_KEY
public static final String INPUT_TEMPLATE_FILE_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StandardReaderWriterFileDataSource
public StandardReaderWriterFileDataSource(JUMPReader reader, JUMPWriter writer, String[] extensions)
-
-
Method Detail
-
getExtensions
public String[] getExtensions()
- Overrides:
getExtensions
in classReaderWriterFileDataSource
-
toEndings
public static Collection<String> toEndings(String[] extensions)
-
-