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 classStandardReaderWriterFileDataSource.FMEGMLstatic classStandardReaderWriterFileDataSource.GMLstatic classStandardReaderWriterFileDataSource.JMLstatic classStandardReaderWriterFileDataSource.Shapefilestatic classStandardReaderWriterFileDataSource.WKT
-
Field Summary
Fields Modifier and Type Field Description protected String[]extensionsstatic String[]GML_EXTENSIONSstatic StringINPUT_TEMPLATE_FILE_KEYstatic StringOUTPUT_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 CollectiontoEndings(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)
-
-