com.hardcode.gdbms.engine.data.file.spatial
Class SpatialFileSourceDefinition

java.lang.Object
  extended by com.hardcode.gdbms.engine.data.AbstractDataSourceDefinition
      extended by com.hardcode.gdbms.engine.data.file.FileSourceDefinition
          extended by com.hardcode.gdbms.engine.data.file.spatial.SpatialFileSourceDefinition
All Implemented Interfaces:
DataSourceDefinition

public class SpatialFileSourceDefinition
extends FileSourceDefinition


Field Summary
 
Fields inherited from class com.hardcode.gdbms.engine.data.file.FileSourceDefinition
driverName, file
 
Constructor Summary
SpatialFileSourceDefinition(java.lang.String name, java.lang.String driverName, java.lang.String fileName)
           
 
Method Summary
 DataSource createDataSource(java.lang.String tableName, java.lang.String tableAlias)
          Creates a DataSource with the information of this object
 
Methods inherited from class com.hardcode.gdbms.engine.data.AbstractDataSourceDefinition
freeResources, getDataSourceFactory, getName, setDataSourceFactory, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpatialFileSourceDefinition

public SpatialFileSourceDefinition(java.lang.String name,
                                   java.lang.String driverName,
                                   java.lang.String fileName)
Method Detail

createDataSource

public DataSource createDataSource(java.lang.String tableName,
                                   java.lang.String tableAlias)
                            throws DataSourceCreationException
Description copied from interface: DataSourceDefinition
Creates a DataSource with the information of this object

Specified by:
createDataSource in interface DataSourceDefinition
Overrides:
createDataSource in class FileSourceDefinition
Parameters:
tableName - name of the DataSource
tableAlias - alias of the DataSource
Returns:
DataSource
Throws:
DataSourceCreationException


Copyright © 2005-2006 . All Rights Reserved.