org.h2gis.drivers.osm
Class OSMDriverFunction

java.lang.Object
  extended by org.h2gis.drivers.osm.OSMDriverFunction
All Implemented Interfaces:
DriverFunction

public class OSMDriverFunction
extends Object
implements DriverFunction

Author:
Erwan Bocher

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.h2gis.h2spatialapi.DriverFunction
DriverFunction.IMPORT_DRIVER_TYPE
 
Field Summary
static String DESCRIPTION
           
static String DESCRIPTION_BZ2
           
static String DESCRIPTION_GZ
           
 
Constructor Summary
OSMDriverFunction()
           
 
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
 

Field Detail

DESCRIPTION

public static String DESCRIPTION

DESCRIPTION_GZ

public static String DESCRIPTION_GZ

DESCRIPTION_BZ2

public static String DESCRIPTION_BZ2
Constructor Detail

OSMDriverFunction

public OSMDriverFunction()
Method Detail

getImportDriverType

public DriverFunction.IMPORT_DRIVER_TYPE getImportDriverType()
Specified by:
getImportDriverType 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

getImportFormats

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


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