Class FileSourceCreation

  extended by
      extended by
All Implemented Interfaces:

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
getDataSourceFactory, setDataSourceFactory
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


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

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


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

DriverException - if the source creation fails

Copyright © 2005-2006 . All Rights Reserved.