com.hardcode.gdbms.engine.data.driver
Interface SpatialFileDriver

All Superinterfaces:
com.hardcode.driverManager.Driver, FileDriver, GDBMSDriver, ReadAccess, SpatialDriver, TypeConverter

public interface SpatialFileDriver
extends FileDriver, SpatialDriver


Field Summary
 
Fields inherited from interface com.hardcode.gdbms.engine.data.driver.SpatialDriver
CANBEHETEROGENEOUS, HETEROGENOUS, HOMOGENEOUS
 
Method Summary
 void createSource(java.lang.String path, SpatialDriverMetadata dsm)
          Creates a new file with the given field names and types
 void writeFile(java.io.File file, SpatialDataSource dataSource)
          Writes the content in the DataWare to specified file.
 
Methods inherited from interface com.hardcode.gdbms.engine.data.driver.FileDriver
close, completeFileName, copy, fileAccepted, open
 
Methods inherited from interface com.hardcode.gdbms.engine.data.driver.ReadAccess
getFieldValue, getRowCount
 
Methods inherited from interface com.hardcode.gdbms.engine.data.driver.GDBMSDriver
check, getAvailableTypes, getDriverMetadata, getParameters, isReadOnly, isValidParameter, setDataSourceFactory
 
Methods inherited from interface com.hardcode.driverManager.Driver
getName
 
Methods inherited from interface com.hardcode.gdbms.engine.data.driver.TypeConverter
getType
 
Methods inherited from interface com.hardcode.gdbms.engine.data.driver.SpatialDriver
getFullExtent, getGeometryType, getHomogeneity
 

Method Detail

writeFile

void writeFile(java.io.File file,
               SpatialDataSource dataSource)
               throws DriverException
Writes the content in the DataWare to specified file.

Parameters:
dataWare - DataWare with the contents
Throws:
DriverException

createSource

void createSource(java.lang.String path,
                  SpatialDriverMetadata dsm)
                  throws DriverException
Creates a new file with the given field names and types

Parameters:
path - Path to the new file
dsm - Metadata of the source
Throws:
DriverException - If the creation fails


Copyright © 2005-2006 . All Rights Reserved.