org.h2gis.drivers
Interface FileDriver

All Known Implementing Classes:
DBFDriver, SHPDriver

public interface FileDriver

Implement this interface in order to create a H2Table in your TableEngine implementation. How to use:

Author:
Nicolas Fortin

Method Summary
 void close()
          Close the file, free resources.
 Object[] getRow(long rowId)
           
 long getRowCount()
           
 

Method Detail

getRowCount

long getRowCount()
Returns:
Row count

close

void close()
           throws IOException
Close the file, free resources.

Throws:
IOException

getRow

Object[] getRow(long rowId)
                throws IOException
Parameters:
rowId - Row index [0-getRowCount()[
Returns:
The row content
Throws:
IOException - Read error


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