Package org.h2gis.functions.io.kml
Class KMLDriverFunction
- java.lang.Object
-
- org.h2gis.functions.io.kml.KMLDriverFunction
-
- All Implemented Interfaces:
org.h2gis.api.DriverFunction
public class KMLDriverFunction extends Object implements org.h2gis.api.DriverFunction
A driver to export spatial table to kml 2.2 file.- Author:
- Erwan Bocher, Sylvain PALOMINOS (UBS 2019)
-
-
Constructor Summary
Constructors Constructor Description KMLDriverFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]exportTable(Connection connection, String tableReference, File fileName, boolean deleteFiles, org.h2gis.api.ProgressVisitor progress)String[]exportTable(Connection connection, String tableReference, File fileName, String options, boolean deleteFiles, org.h2gis.api.ProgressVisitor progress)String[]exportTable(Connection connection, String tableReference, File fileName, String encoding, org.h2gis.api.ProgressVisitor progress)String[]exportTable(Connection connection, String tableReference, File fileName, org.h2gis.api.ProgressVisitor progress)String[]getExportFormats()StringgetFormatDescription(String format)org.h2gis.api.DriverFunction.IMPORT_DRIVER_TYPEgetImportDriverType()String[]getImportFormats()String[]importFile(Connection connection, String tableReference, File fileName, boolean deleteTables, org.h2gis.api.ProgressVisitor progress)String[]importFile(Connection connection, String tableReference, File fileName, String options, boolean deleteTables, org.h2gis.api.ProgressVisitor progress)String[]importFile(Connection connection, String tableReference, File fileName, String options, org.h2gis.api.ProgressVisitor progress)String[]importFile(Connection connection, String tableReference, File fileName, org.h2gis.api.ProgressVisitor progress)booleanisSpatialFormat(String extension)
-
-
-
Method Detail
-
getImportFormats
public String[] getImportFormats()
- Specified by:
getImportFormatsin interfaceorg.h2gis.api.DriverFunction
-
getExportFormats
public String[] getExportFormats()
- Specified by:
getExportFormatsin interfaceorg.h2gis.api.DriverFunction
-
getFormatDescription
public String getFormatDescription(String format)
- Specified by:
getFormatDescriptionin interfaceorg.h2gis.api.DriverFunction
-
isSpatialFormat
public boolean isSpatialFormat(String extension)
- Specified by:
isSpatialFormatin interfaceorg.h2gis.api.DriverFunction
-
exportTable
public String[] exportTable(Connection connection, String tableReference, File fileName, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
exportTablein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
exportTable
public String[] exportTable(Connection connection, String tableReference, File fileName, boolean deleteFiles, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
exportTablein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
exportTable
public String[] exportTable(Connection connection, String tableReference, File fileName, String options, boolean deleteFiles, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
exportTablein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
exportTable
public String[] exportTable(Connection connection, String tableReference, File fileName, String encoding, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
exportTablein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
importFile
public String[] importFile(Connection connection, String tableReference, File fileName, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
importFilein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
importFile
public String[] importFile(Connection connection, String tableReference, File fileName, String options, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
importFilein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
importFile
public String[] importFile(Connection connection, String tableReference, File fileName, boolean deleteTables, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
importFilein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
importFile
public String[] importFile(Connection connection, String tableReference, File fileName, String options, boolean deleteTables, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
importFilein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
getImportDriverType
public org.h2gis.api.DriverFunction.IMPORT_DRIVER_TYPE getImportDriverType()
- Specified by:
getImportDriverTypein interfaceorg.h2gis.api.DriverFunction
-
-