deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.tools.datastore
Class DBSchemaToDatastoreConf

java.lang.Object
  extended by org.deegree.tools.datastore.DBSchemaToDatastoreConf

public class DBSchemaToDatastoreConf
extends Object

Example: java -classpath .;deegree.jar;$databasedriver.jar org.deegree.tools.datastore.DBSchemaToDatastoreConf -tables mytable,myothertable -user dev -password dev -driver oracle.jdbc.OracleDriver -url jdbc:oracle:thin:@localhost:1521:devs -output e:/temp/schema.xsd
or for shapefile:
java -classpath .;deegree.jar org.deegree.tools.datastore.DBSchemaToDatastoreConf -url c:/data/myshape -driver SHAPE -output e:/temp/schema.xsd

Version:
$Revision: 6865 $, $Date: 2007-05-07 17:33:46 +0200 (Mo, 07 Mai 2007) $
Author:
Andreas Poth, last edited by: $Author: apoth $

Constructor Summary
DBSchemaToDatastoreConf(String[] tables, String user, String pw, String driver, String logon, String srs)
           
 
Method Summary
static void main(String[] args)
           
 String run()
          creates a schema/datastore configuration for accessin database table through deegree WFS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBSchemaToDatastoreConf

public DBSchemaToDatastoreConf(String[] tables,
                               String user,
                               String pw,
                               String driver,
                               String logon,
                               String srs)
Parameters:
tables - list of table names used for one featuretype
user - database user
pw - users password
driver - database driver
logon - database URL/logon
srs -
Method Detail

run

public String run()
           throws Exception
creates a schema/datastore configuration for accessin database table through deegree WFS

Returns:
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Parameters:
args -
Throws:
Exception

deegree 2.1 (2007/11/08 09:57 build-328-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net