org.h2gis.drivers.kml
Class KMLDriverFunction

java.lang.Object
  extended by org.h2gis.drivers.kml.KMLDriverFunction
All Implemented Interfaces:
DriverFunction

public class KMLDriverFunction
extends Object
implements DriverFunction

A driver to export spatial table to kml 2.2 file.

Author:
Erwan Bocher

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.h2gis.h2spatialapi.DriverFunction
DriverFunction.IMPORT_DRIVER_TYPE
 
Constructor Summary
KMLDriverFunction()
           
 
Method Summary
 void exportTable(Connection connection, String tableReference, File fileName, ProgressVisitor progress)
           
 String[] getExportFormats()
           
 String getFormatDescription(String format)
           
 DriverFunction.IMPORT_DRIVER_TYPE getImportDriverType()
           
 String[] getImportFormats()
           
 void importFile(Connection connection, String tableReference, File fileName, ProgressVisitor progress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KMLDriverFunction

public KMLDriverFunction()
Method Detail

getImportFormats

public String[] getImportFormats()
Specified by:
getImportFormats in interface DriverFunction

getExportFormats

public String[] getExportFormats()
Specified by:
getExportFormats in interface DriverFunction

getFormatDescription

public String getFormatDescription(String format)
Specified by:
getFormatDescription in interface DriverFunction

exportTable

public void exportTable(Connection connection,
                        String tableReference,
                        File fileName,
                        ProgressVisitor progress)
                 throws SQLException,
                        IOException
Specified by:
exportTable in interface DriverFunction
Throws:
SQLException
IOException

importFile

public void importFile(Connection connection,
                       String tableReference,
                       File fileName,
                       ProgressVisitor progress)
                throws SQLException,
                       IOException
Specified by:
importFile in interface DriverFunction
Throws:
SQLException
IOException

getImportDriverType

public DriverFunction.IMPORT_DRIVER_TYPE getImportDriverType()
Specified by:
getImportDriverType in interface DriverFunction


Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.