Class StandardReaderWriterFileDataSource
- java.lang.Object
-
- org.locationtech.jts.jump.io.datasource.DataSource
-
- org.locationtech.jts.jump.io.datasource.ReaderWriterFileDataSource
-
- org.locationtech.jts.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
Nested Classes Modifier and Type Class Description static class
StandardReaderWriterFileDataSource.FMEGML
static class
StandardReaderWriterFileDataSource.GML
static class
StandardReaderWriterFileDataSource.JML
static class
StandardReaderWriterFileDataSource.Shapefile
static class
StandardReaderWriterFileDataSource.WKT
-
Field Summary
Fields Modifier and Type Field Description protected String[]
extensions
static String[]
GML_EXTENSIONS
static String
INPUT_TEMPLATE_FILE_KEY
static String
OUTPUT_TEMPLATE_FILE_KEY
-
Fields inherited from class org.locationtech.jts.jump.io.datasource.ReaderWriterFileDataSource
reader, writer
-
Fields inherited from class org.locationtech.jts.jump.io.datasource.DataSource
COORDINATE_SYSTEM_KEY, FILE_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
toEndings(String[] extensions)
-
Methods inherited from class org.locationtech.jts.jump.io.datasource.ReaderWriterFileDataSource
getConnection, getReaderDriverProperties, getWriterDriverProperties
-
Methods inherited from class org.locationtech.jts.jump.io.datasource.DataSource
getProperties, installCoordinateSystem, isReadable, isWritable, setProperties
-
-
-
-
Field Detail
-
extensions
protected String[] extensions
-
GML_EXTENSIONS
public static final String[] GML_EXTENSIONS
-
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()
-
toEndings
public static Collection toEndings(String[] extensions)
-
-