com.hardcode.gdbms.engine.data.file
Class FileSourceCreation

java.lang.Object
  extended by com.hardcode.gdbms.engine.data.AbstractDataSourceCreation
      extended by com.hardcode.gdbms.engine.data.file.FileSourceCreation
All Implemented Interfaces:
DataSourceCreation

public class FileSourceCreation
extends AbstractDataSourceCreation


Constructor Summary
FileSourceCreation(java.lang.String driverName, java.lang.String file, DriverMetadata dmd)
          Builds a new FileSourceCreation
 
Method Summary
 void create()
          Creates the source
 
Methods inherited from class com.hardcode.gdbms.engine.data.AbstractDataSourceCreation
getDataSourceFactory, setDataSourceFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSourceCreation

public FileSourceCreation(java.lang.String driverName,
                          java.lang.String file,
                          DriverMetadata dmd)
Builds a new FileSourceCreation

Parameters:
driverName - Name of the driver to be used to create the source
file - Name of the file to create
dmd - Information about the schema of the new source. If the driver is a spatial one, this parameter must be a SpatialDriverMetadata implementation
Method Detail

create

public void create()
            throws DriverException
Description copied from interface: DataSourceCreation
Creates the source

Throws:
DriverException - if the source creation fails


Copyright © 2005-2006 . All Rights Reserved.